Player Last Deposit
This API returns information about the player’s last deposit.
You can use this method to set the default values in the deposit page. For example, if a player deposits money from a country that is different from their registered country, you can set the last used country as the default country for future deposits. use gateway.[msdomain]
Request (GET)
/gateway/financials/{brand_id}/{version}/player/deposit
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | string | true | The ID of the casino. If a brand_id is not provided, all message formats will be fetched from default storage. |
| x-auth-token | header | string | true | Player login session. |
Response
Status 200
{
"updateDate": "YYY-MM-DD hh:mm:ss",
"depositAmount": 0,
"depositCurrency": "EUR",
"paymentMethodId": 7,
"countryCode": "DE"
}Status 400
{
"errMsg": "invalid input - invalid brand id"
}401 Response
{
"errMsg": "invalid input - invalid token"
}Status 500
{
"result": "internal server error"
}Response Parameters:
| Name | Description |
|---|---|
| updateDate | last approved deposit time. |
| depositAmount | deposit Amount. |
| depositCurrency | deposit Currency. |
| paymentMethodId | deposit payment methiod id. |
| countryCode | player login country. |