Invoices
Create Invoice
Create a new payment invoice
POST
Create Invoice
Creates a new payment invoice. The invoice represents a payment request for a specified fiat amount. After creation, the customer selects a token and chain on the checkout page, which triggers address generation on-demand.Request
Invoice amount as a decimal string. Must be greater than 0.Example:
"99.99"The fiat currency of the invoice. Supported:
USD, EUR, GBP, etc.Example: "USD"Optional human-readable description of the invoice.Example:
"Order #1234 — 2x T-shirts"Time in minutes until the invoice expires. If omitted, defaults to 15 minutes. Must be between
1 and 525600 (1 year).Example: 15URL to receive webhook event notifications for this invoice. Must be a valid HTTPS URL. Overrides the default webhook URL set in merchant settings.Example:
"https://yoursite.com/webhooks/settlx"Arbitrary key-value pairs to store with the invoice. Useful for correlating with your internal order IDs.Example:
{ "orderId": "order_abc123", "userId": "user_456" }