API_006 Transfer Player Balance
PUT
https://prod.phl8268.com/panel/api/integration/transferBalancesEndpoint for merchant to transfer player balance from / to PHL.
Envelope
Please encode the following parameters into JSON, then encode them using Base64 and put them into the data field of a generic request/response. Signature: refer to Signature Description.
Request Schema
| Property | Field Type | Mandatory | Description | Sample value |
|---|---|---|---|---|
| username | String | Y | Username used from the platform | JOHNDOE |
| transactionType | String | Y | Transaction type. See System Code – Transaction Type | TOPUP |
| amountToBeTransferred | String | Y | Amount to be transferred (negative amount not allowed) | 190.00 |
| currency | String | Y | Currency wallet transfer to / from. See System Code – Currency | PHP |
| merchantTxnId | String | Y | Third party's unique transaction ID | IG05-0000001 |
Response Schema
| Property | Field Type | Mandatory | Description | Sample value |
|---|---|---|---|---|
| balanceAmount | String | Y | Amount to transfer (negative means transfer out, positive means transfer in) | 190.00 |
| currency | String | Y | Currency wallet transfer to / from. See System Code – Currency | PHP |
| username | String | Y | Username used from the platform | JOHNDOE |
| txnId | String | Y | The unique transaction ID in our system | bbebbaae-bf37-4ac0-b75c-d0bfc41a5b65 |
| merchantTxnId | String | Y | Third party's unique transaction ID | IG05-0000001 |
Request Sample
{
"username": "JOHNDOE",
"transactionType": "TOPUP",
"amountToBeTransferred": "10.00",
"currency": "PHP",
"merchantTxnId": "IG05-0000001"
}
Response Sample
{
"balanceAmount": "10.00",
"currency": "PHP",
"username": "JOHNDOE",
"txnId": "53202dc1-f941-4d21-957f-ab08c9d26f28",
"merchantTxnId": "IG05-0000001"
}