Merchant APIs
Get wallet address#
No | Field | Type | Required | Notes |
---|
1 | network | String | N | optional: BEP20/TRC20 |
{
"head": {
"apiCode": "walletAddress",
"sysId": "202402271432298822660001",
"requestNo": "202501041128450565191357",
"version": "1.0",
"sign": "29589585d30e6bfca3e2588f61d67cf7ff0567f4c5ccc79ef954da66326be51***",
"keyEnc": "7c819f5751420b267a32c6b1bb95735a327dcb20ca1c2abcafaa5125604a8***"
},
"body":{
"encrypt":"zcNZ5RFgBASAcOX5sRYiMSTaYN/3iNv3HA3/FXJmVkCnzkECPIpaw7daqowwv*******"
}
}
No | Field | Type | Required | Notes |
---|
1 | network | String | Y | Recharge Network |
2 | address | String | Y | Wallet recharge address |
3 | encrypt | String | Y | Return values: SUCCESS FAILED |
{
"data": [
{
"address": "TNtgLXc3vmSjo7EVMjnRYBrEKVK6Hrm7NK",
"network": "TRC20"
},
{
"address": "0x922df3da4585226bf103cf08dbee2df9ffe3e7b4",
"network": "BEP20"
}
],
"encrypt": "SUCCESS"
}
Response Message Example:{
"head": {
"apiCode": "walletAddress",
"sysId": "202402271432298822660001",
"requestNo": "202501041128450565191357",
"version": "1.0",
"code": "SUCCESS",
"detail": "SUCCESS",
"sign": "50a7aca6d7a65f848535aaf6cbfa674583e103afea9db4863b6b47953670cf8***",
"keyEnc": "b25973f85c9ff6092b6647a6ed5603384e14a853c3a06b6cfde5ae55eb165***"
},
"body":{
"encrypt":"aB3OMZSBlWyaDsPMtU4w/4lI87EWiR1hPzEdBlp9WVvOTjeeX4ZxPy2o+9x1a***"
}
}
Get currency conversion rate#
No | Field | Type | Required | Notes |
---|
1 | from | String | Y | Currency: ISO 4217 3-letter characters |
2 | to | String | Y | Currency: ISO 4217 3-letter characters |
{
"from": "USD",
"to": "HKD"
}
{
"head": {
"apiCode": "getCoinExchangeRate",
"sysId": "202402271432298822660001",
"requestNo": "20250104120546157895476623",
"version": "1.0",
"sign": "29589585d30e6bfca3e2588f61d67cf7ff0567f4c5ccc79ef954da66326be51***",
"keyEnc": "7c819f5751420b267a32c6b1bb95735a327dcb20ca1c2abcafaa5125604a8***"
},
"body":{
"encrypt":"zcNZ5RFgBASAcOX5sRYiMSTaYN/3iNv3HA3/FXJmVkCnzkECPIpaw7daqowwv*******"
}
}
No | Field | Type | Required | Notes |
---|
1 | rate | Double | Y | Exchange rate |
2 | from | String | Y | Currency: ISO 4217 3-letter characters |
3 | to | String | Y | Currency: ISO 4217 3-letter characters |
4 | encrypt | String | Y | Return values: SUCCESS FAILED |
{
"rate": 7.7737,
"from": "USD",
"to": "HKD",
"encrypt": "SUCCESS"
}
Response Message Example:{
"head": {
"apiCode": "getCoinExchangeRate",
"sysId": "202402271432298822660001",
"requestNo": "20250104120546157895476623",
"version": "1.0",
"code": "SUCCESS",
"detail": "SUCCESS",
"sign": "50a7aca6d7a65f848535aaf6cbfa674583e103afea9db4863b6b47953670cf8***",
"keyEnc": "b25973f85c9ff6092b6647a6ed5603384e14a853c3a06b6cfde5ae55eb165***"
},
"body":{
"encrypt":"aB3OMZSBlWyaDsPMtU4w/4lI87EWiR1hPzEdBlp9WVvOTjeeX4ZxPy2o+9x1a***"
}
}
Modified at 2025-01-14 11:20:55