type, which controls how the invoice can be used for payment collection. The paymentMethodID field determines which payment method (e.g., a specific cryptocurrency token) is accepted.
The UUID of the merchant account to create the invoice under.
Request body
The invoice amount as a decimal string (e.g.,
"100.00").The invoice type. Must be one of:
onetime— Single-use invoice; expires after one payment.reusable— Can be paid multiple times.collect— Used for collecting funds from multiple payers.withdraw— Used to initiate a withdrawal.
A human-readable description for the invoice, such as an order reference (e.g.,
"Order #1234").The integer ID of the payment method (token) to accept for this invoice.
Response
The UUID of the newly created invoice.