POST https://api.100pay.co/api/v1/pay/crypto/convert
Performs a currency conversion with respect to Customer's local currency (using official CMC rates), and returns the Crypto-equivalent. Failure to call this endpoint with the required fields will result in a permanent loss of all funds sent to the generated address.Request Body
Field
Attributes
Type
Description
wallet
wallet.symbol
wallet.convertid_
wallet.chartstring
string
string
Selected Crypto token
randomly-generated ID assigned to the conversion
Must be "cmc"
(CoinMarketCap)
local
local.amount
local.currencystring
string
amount worth of token to be paid
currency worth of token to be paid
_id
string
a uniquely-generated deposit ID included in the response body returned by Address generation endpoint
network
string
a blockchain network via which deposits could be tracked and confirmed.
Currently supports only "bsc"
Response Body
Field
Type
Description
amount
integer
Crypto-equivalent
cuurency
string
Crypto token
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"amount": 9996.864941116186,
"currency": "USDT"
} |