Check Price
POST
api/v2/check_price
Parameters that need to be pass for the request check price.
Parameters | Type | Required | Description |
---|---|---|---|
project_id | String | Yes | Project ID |
token | String | Yes | Token details view Encryption & Decryption |
transaction_type | String | Yes | Transaction Type (TOPUP/PAYOUT/SETTLEMENT) |
amount | Number | Yes | Amount |
currency_short_code | String | No | currency_short_code can get from Crypto Currency List |
Check Price Parameters
- project_id:
1
(string, required) - Project ID - token:
345D64BC52858546011989019768BBE1
(string, required) - Token - transaction_type:
TOPUP
(string, required) - Transaction Type (TOPUP/PAYOUT/SETTLEMENT) - amount:
100
(number, required) - Amount - currency_short_code:
ERC
(string, optional) - Crypto Currency Short Code
Response 200 from create normal Topup (application/json)
{
"status": 0,
"ret_msg": "Success",
"data": {
"transaction_type": "TOPUP",
"from_currency": "ERC",
"from_amount": "100",
"to_currency": "VND",
"to_amount": "200000.00",
"token": "2873B9EFB775F60A59ECF6EB1335507F"
}
}