An object representing for an invoice creation request.
Name | Type | Required | Description |
---|---|---|---|
externalId | string | ✅ | The external ID of the invoice. |
amount | number | ✅ | The invoice amount. |
payerEmail | string | The email address of the payer. | |
description | string | A description of the payment. | |
invoiceDuration | string | The duration of the invoice. | |
callbackVirtualAccountId | string | The ID of the callback virtual account. | |
shouldSendEmail | boolean | Indicates whether email notifications should be sent. | |
customer | CustomerObject | ||
customerNotificationPreference | NotificationPreference | ||
successRedirectUrl | string | The URL to redirect to on successful payment. | |
failureRedirectUrl | string | The URL to redirect to on payment failure. | |
paymentMethods | []string | An array of available payment methods. | |
midLabel | string | The middle label. | |
shouldAuthenticateCreditCard | boolean | Indicates whether credit card authentication is required. | |
currency | string | The currency of the invoice. | |
reminderTime | number | The reminder time. | |
local | string | The local. | |
reminderTimeUnit | string | The unit of the reminder time. | |
items | []InvoiceItem | An array of items included in the invoice. | |
fees | []InvoiceFee | An array of fees associated with the invoice. |