Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 2.06 KB

CreateInvoiceRequest.md

File metadata and controls

35 lines (30 loc) · 2.06 KB

# CreateInvoiceRequest

An object representing for an invoice creation request.

use Xendit\Invoice\CreateInvoiceRequest;

Properties

Name Type Required Description Examples
external_id string ☑️ The external ID of the invoice. null
amount float ☑️ The invoice amount. null
payer_email string The email address of the payer. null
description string A description of the payment. null
invoice_duration string The duration of the invoice. null
callback_virtual_account_id string The ID of the callback virtual account. null
should_send_email bool Indicates whether email notifications should be sent. null
customer CustomerObject null
customer_notification_preference NotificationPreference null
success_redirect_url string The URL to redirect to on successful payment. null
failure_redirect_url string The URL to redirect to on payment failure. null
payment_methods string[] An array of available payment methods. null
mid_label string The middle label. null
should_authenticate_credit_card bool Indicates whether credit card authentication is required. null
currency string The currency of the invoice. null
reminder_time float The reminder time. null
local string The local. null
reminder_time_unit string The unit of the reminder time. null
items array An array of items included in the invoice. null
fees array An array of fees associated with the invoice. null
channel_properties ChannelProperties null

[Back to README]