This API request enables the operator to get the remaining funds from provider’s game wallet to operator’s main wallet. It updates the game wallet by deducting the requested withdrawal amount.
WalletWithdraw() Request
Type | Input |
---|---|
HTTP Method | POST |
API URL | https://<API_BASE_URL>/wallet/wallet-withdraw/ |
Headers | "Content-Type": "application/json" |
POST Parameters | json object e.g.: { |
Parameters | Type | Description |
---|---|---|
api_key | String | API Key allocated to each front-end |
username | String | Username of the player |
password | String | Password of the player |
amount | Decimal | Amount to be deposited into DG game wallet |
transaction_id | String | Transaction ID |
WalletWithdraw() Response + Example
{
"result": {"status": "success",
"amount": 200,
"currency": "GBP"
}
}
Object/Key in Response Object | Type | Description |
---|---|---|
result | JSON Object | Key result contains the JSON object as value. |
status | String | Response status |
amount | Decimal | Player’s balance after withdraw |
currency | String | 3 letter ISO currency code |