InvoiceInput
INPUTInput for invoice creation.
Fields
account_code
A custom value that will be passed on to the transaction when a payment is made through Pay Theory's hosted checkout.
currencyRequired
The currency of the payment that will be used to pay the invoice.
due_by
The date that the payor is expected to pay the invoice by.
fee_mode
The fee mode that will be used on that transaction when a payment is made through Pay Theory's hosted checkout. It can be one of the following: MERCHANT_FEE, SERVICE_FEE.
Values
CUSTOM_FEEINTERCHANGEMERCHANT_FEESERVICE_FEE
invoice_amountRequired
The total amount of the invoice.
invoice_date
The initial date for the Invoice.
invoice_description
A brief description of the invoice. This will show up on the hosted checkout page and any email communications about the Invoice.
invoice_nameRequired
The name of the invoice. This will show up on the hosted checkout page and any email communications about the Invoice.
merchant_uidRequired
The Pay Theory unique identifier for the merchant that the invoice belongs to.
merchant_invoice_number
A custom value that can be used to tie the Pay Theory Invoice to a merchant's internal invoice number.
metadata
A JSON object that can be used to store custom data about the invoice.
payor_id
The Pay Theory unique identifier for the payor that the invoice belongs to.
payor
The payor input object for the payor that the invoice belongs to. More information on the payor input object can be found here.
reference
A custom value that will be passed on to the transaction when a payment is made through Pay Theory's hosted checkout.
send_email
When set to true, an email will be sent to the payor with a link to the hosted checkout page.
settings
The settings input object to configure settings for the Pay Theory hosted checkout page.