Create an invoice

Scope: invoices:write. Accepts an optional Idempotency-Key header.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

A positive currency-network id from the catalog.

number
required

A positive amount in the asset.

string
string
string
integer

When greater than 0, sets the invoice expiry to now plus this many seconds.

string
string
Headers
string
length ≤ 128

Optional idempotency key (max 128 chars). A retry with the same key and payload replays the stored response; a different payload returns 409.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json