POST
/
api
/
v1
/
merchants
/
invoice
/
create

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
required

Payment amount

Required range: x > 0
acceptedCoins
string[]

List of accepted cryptocurrency symbols

amountCurrency
string
default:
USD

Currency for the amount

feePaidByPayer
boolean

Whether the fee is paid by the payer

lifeTime
number
default:
1440

Invoice lifetime in minutes

Required range: 1 < x < 1440
returnUrl
string

URL to return to after payment

underPaidCover
number

Percentage of underpayment to accept

Required range: 0 < x < 50Must be a multiple of 0.1

Response

200 - application/json
address
string
amount
number
amountCurrency
string
createdAt
string
cryptoCurrency
object
expiresAt
string
feePaidByPayer
boolean
id
string
isWhiteLabel
boolean
merchantId
string
network
object
payAmount
number
paymentUrl
string
rate
number
returnUrl
string
status
enum<string>
Available options:
PENDING,
CONFIRMING,
UNDER_PAID,
PAID,
FAILED,
EXPIRED
txHash
string
underPaidCover
number