Define full invoice crypto-currency

Defines cryptocurrency for the created full invoice

POST https://app.thedex.cloud/api/v1/invoices/currency

Headers

Name
Type
Description

X-EX-APIKEY*

String

Your API key

X-EX-PAYLOAD*

String

Body to base64

X-EX-SIGNATURE*

String

Encrypted body with the secret key

Request Body

{
    "invoiceId": "String",
    "payCurrency": "String"
}

Request JSON attributes

Name
Type
Description

invoiceId*

String

ID of Invoice for defining

payCurrency*

String

required reach out all accessed values by link: /api/v1/info/currencies

Response body

{
   "invoiceId": "String",
   "purse": "String",
   "amount": "String",
   "currency": "String",
   "amountInPayCurrency": "String",
   "payCurrency": "String",
   "blockchainFee": "String"
}

Response JSON attributes

"invoiceId"

String

Invoice id

"purse"

String

Purse

"amount"

String

Amount of fiat currency

"currency"

String

reach out accessed values by link: /api/v1/info/currencies

"amountInpayCurrency"

String

Amount of cryptocurrency after convertion

"payCurrency"

String

reach out accessed values by link: /api/v1/info/currencies

"blockchainFee"

String

Deposit blockchain fee

Curl request

Example Curl

Last updated