Skip to main content
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

string
required
Invoice amount as a decimal string. Must be greater than 0.Example: "99.99"
string
required
The fiat currency of the invoice. Supported: USD, EUR, GBP, etc.Example: "USD"
string
Optional human-readable description of the invoice.Example: "Order #1234 — 2x T-shirts"
number
Time in minutes until the invoice expires. If omitted, defaults to 15 minutes. Must be between 1 and 525600 (1 year).Example: 15
string
URL 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"
object
Arbitrary key-value pairs to store with the invoice. Useful for correlating with your internal order IDs.Example: { "orderId": "order_abc123", "userId": "user_456" }

Response

object