Skip to content

Files

Latest commit

author
xendit-devx-bot
Jan 30, 2025
63f50bf · Jan 30, 2025

History

History
35 lines (29 loc) · 2.24 KB

CreateInvoiceRequest.md

File metadata and controls

35 lines (29 loc) · 2.24 KB

CreateInvoiceRequest

xendit.invoice.model.CreateInvoiceRequest

An object representing for an invoice creation request.

Properties

Name Type Required Description Examples
external_id str ☑️ The external ID of the invoice.
amount float ☑️ The invoice amount.
payer_email str The email address of the payer.
description str A description of the payment.
invoice_duration str The duration of the invoice.
callback_virtual_account_id str The ID of the callback virtual account.
should_send_email bool Indicates whether email notifications should be sent.
customer CustomerObject
customer_notification_preference NotificationPreference
success_redirect_url str The URL to redirect to on successful payment.
failure_redirect_url str The URL to redirect to on payment failure.
payment_methods [str] An array of available payment methods.
mid_label str The middle label.
should_authenticate_credit_card bool Indicates whether credit card authentication is required.
currency str The currency of the invoice.
reminder_time float The reminder time.
locale str The default language to display.
reminder_time_unit str 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.
channel_properties ChannelProperties
metadata {str: (bool, date, datetime, dict, float, int, list, str, none_type)} A free-format JSON for additional information that you may use. Object can be up to 50 keys, with key names up to 40 characters long and values up to 500 characters long.

[Back to README]