/card/pay/api/core/redemption
| Parameter | Required | Type | Length | Description |
|---|
| cardId | Yes | string | | Card ID |
| orderNo | Yes | string | 32 | Custom customer transaction ID |
| amount | Yes | string | 32 | Refund amount (in cents) |
| address | Yes | string | 64 | Address |
| cardCurrency | Yes | string | 12 | Card currency (eg USD) |
| network | Yes | string | 32 | Network |
| callbackUrl | Yes | string | 256 | Callback URL |
{
address: 0xa6d057a1e3d807c31233b2e5892efc5672a24b61
cardCurrency: USD
amount: 10
callbackUrl: http://**com/callbcak
cardId: c_0abe871a2f204eb5b6a3
network: bsc
orderNo: 11111111113
}
| Parameter | Type | Description |
|---|
| success | boolean | Success flag |
| error | boolean | Error flag |
| msg | string | Return message |
| code | integer | Return code |
| +model | object | Data object returned |
| +tradeNo | string | Transaction number |
{
success: true
error: false
msg: Success
code: 0
model: {
tradeNo: 123133213131313131
}
traceId: 1646648711017
}
- For more error codes please refer to the error code description on the homepage
Updated about 3 hours ago