Skip to main content
Use this endpoint to create a new invoice under a merchant account. You must specify the invoice 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.
string
required
The UUID of the merchant account to create the invoice under.

Request body

string
required
The invoice amount as a decimal string (e.g., "100.00").
string
required
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.
string
A human-readable description for the invoice, such as an order reference (e.g., "Order #1234").
number
required
The integer ID of the payment method (token) to accept for this invoice.

Response

string
required
The UUID of the newly created invoice.