Application Load
IInvoiceCreateRequest
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IInvoiceCreateRequestWallet-invoice creation request.
src/lib/interfaces/orionplace/payments/IInvoice.tsexport interface IInvoiceCreateRequest {
// Required payment-method ID. Must be enabled, use a payment plugin, and not
// be a balance or payment-on-delivery method.
payment: number;
// Required currency ID from `page_data.init.currencies`. The submitted
// `amount` is expressed in this currency.
currency?: number;
// Amount in the selected currency: greater than zero, with up to 20 digits
// total and 9 decimal places. The converted amount must remain positive.
amount?: number | string;
}