Transfer Balance
POST
api/v2/transfer_balance
API Error Code
Status code | Description |
---|---|
60000 |
Invalid Project (To) |
60001 |
Currency must be same |
60002 |
Cannot Transfer to Self |
60003 |
Amount is not enough |
60004 |
Settlement Client transaction ID exists |
60005 |
Top up Client transaction ID exists |
Parameters that need to be pass for the request.
Parameters | Type | Required | Description |
---|---|---|---|
project_id | string | yes | Project ID |
token | string | yes | Token details view Encryption & Decryption |
client_transaction_id | string | yes | client Transaction Id |
amount | number | yes | Amount Check Balance |
to_project_id | string | yes | To Project ID |
Parameters
- project_id:
1
(string, required) - Project ID - token:
9BC97D2BCC7990F84F05202205E53D14
(string, required) - client_transaction_id:
CN1240433123233
(string, required) - amount:
5000.00
(number, required) - to_project_id:
4
(string, required - To Project ID
Response 200 (application/json)
{
"status": 0,
"ret_msg": "Success",
"data": {
"amount": "20,002.00",
"settlement_transaction_id": "ST2204060000018",
"top_up_transaction_id": "TP2204060000018",
"client_transaction_id": "D12345",
"token": "F8DD8A4D4CDBDE8CAA89F183E7366514"
}
}