WalletDeposit() API

This API request enables the operator to deposit funds from operator’s main wallet to provider’s game wallet.

WalletDeposit() Request

TypeInput
HTTP MethodPOST
API URLhttps://<API_BASE_URL>/wallet/wallet-deposit/
Headers"Content-Type": "application/json"
POST Parametersjson object e.g.:
{
"api_key": "1pghjl4v5apt2bks",
"username": "test_username",
"password": "passt84fas28",
"amount": 200.0,
"transaction_id": "10032"
}
ParametersTypeDescription
api_keyStringAPI Key allocated to each front-end
usernameStringUsername of the player
passwordStringPassword of the player
amountDecimalAmount to be deposited into DG game wallet
transaction_idStringTransaction ID

WalletDeposit() Response + Example

{
	"result": {
              "status": "success",
              "amount": 200.00,
              "currency": "EUR"
         }
}
Object/Key in Response ObjectTypeDescription
resultJSON ObjectKey result contains the JSON object as value.
statusStringResponse status
amountDecimalPlayer’s balance after deposit
currencyStringPlayer’s currency.