Invoices
Create Payment Invoice
Creates a new payment invoice for the authenticated merchant
POST
/
api
/
v1
/
merchants
/
invoice
/
create
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
amount
number
requiredPayment amount
Required range:
x > 0
amountCurrency
string
default: USDCurrency for the amount
acceptedCoins
string[]
List of accepted cryptocurrency symbols
underPaidCover
number
Percentage of underpayment to accept
Required range:
0 < x < 50
Must be a multiple of 0.1
feePaidByPayer
boolean
Whether the fee is paid by the payer
lifeTime
number
default: 1440Invoice lifetime in minutes
Required range:
1 < x < 1440
returnUrl
string
URL to return to after payment
Response
200 - application/json
id
string
merchantId
string
paymentUrl
string
status
enum<string>
Available options:
PENDING
, CONFIRMING
, UNDER_PAID
, PAID
, FAILED
, EXPIRED
address
string
txHash
string
amount
number
amountCurrency
string
rate
number
payAmount
number
cryptoCurrency
object
network
object
feePaidByPayer
boolean
underPaidCover
number
isWhiteLabel
boolean
returnUrl
string
expiresAt
string
createdAt
string