Create an Invoice
Create a merchant crypto POS invoice
Endpoint
Header parameters
apikeystringRequired
Merchant API key.
merchantidstringRequired
Merchant identifier bound to the API key.
content-typeconst: application/jsonRequired
Runtime currently requires exact value application/json.
Body
amountnumber · min: 0.05Required
descriptionstring · max: 250Optional
partialPaymentsEnabledbooleanOptionalDefault:
falsetippingEnabledbooleanOptionalDefault:
truebtcOnlybooleanOptional
dueDateone ofOptional
string · date-timeOptional
numberOptional
Other propertiesanyOptional
Responses
200
Invoice created
application/json
400
Bad request
application/json
401
Missing body (legacy guard)
application/json
403
Missing API key or merchant ID header
application/json
405
Invalid content-type, merchantid, or API key
application/json
408
Non-matching merchantid and API key
application/json
412
Merchant is not actively enrolled in cryptoPOS-V1
application/json
420
Invoice object creation failure
application/json
501
Server error validating merchant/API key
application/json
502
Merkle validation failure
application/json
post
/crypto/v1/createInvoiceRequired Headers
Header
Required
Type
Value
Request Body
Field
Required
Type
Notes
Minimal Request Example
Full Request Example
Success Response (200)

Error Statuses
Status
Meaning
Notes
Last updated