Withdrawal Methods
This method retrieves all available payment methods that are available for withdrawals (both used and unused).
Note:
- You can only withdraw money to a used card or bank.
- If the returned value says
no_cardundercards, then the payment methods doesn’t require a card number. - The logo URL for each payment method appears under
key: logo. - If no payment methods have been used, the API returns only the default payment methods under
used_methods. In most cases, the only default payment method is a bank transfer. For details, see the second example. use gateway.[msdomain]
Request (GET)
/gateway/financials/{version}/methods/{brand_id}
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use, for any version higher than 3.0, response will be async, and should be fetched from Status API. |
| 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
Version < 4
{
"used_methods": [
{
"Visa": [
{
"cards": [
"3123",
"-XXX"
]
},
{
"logo": "[PROMO_URL]/payment_methods/my_account/visa.png"
}
]
}
],
"unused_methods": [
{
"Skrill": "[PROMO_URL]/payment_methods/my_account/skrill.png"
},
{
"Maestro": "[PROMO_URL]/payment_methods/my_account/maestro.png"
},
{
"Neteller": "[PROMO_URL]/payment_methods/my_account/neteller.png"
},
{
"EcoPayz": "[PROMO_URL]/payment_methods/my_account/ecopayz.png"
},
{
"clickandbuy": "[PROMO_URL]/payment_methods/my_account/clickandbuy.png"
}
]
}Version = 4
[
{
"name": "Visa",
"cards": [
"1234"
],
"logo": "logo.png",
"min": "23.11",
"max": "105.55"
}
]Status 400
{
"errMsg": "invalid input - invalid brand id"
}401 Response
{
"errMsg": "invalid input - invalid token"
}Status 500
{
"result": "internal server error"
}Response Parameters:
Version < 4
| Name | Type | Description |
|---|---|---|
| used_methods | object | List which will contain all the available withdrawal methods for this player (depends also on deposit history). |
| unused_methods | int | additional methods(player cannot withdraw with them). |
Version = 4
| Name | Type | Description |
|---|---|---|
| name | string | The name of the payment method. |
| cards | array | The last four digits of the card number. |
| logo | string | The URL of the payment method’s logo. |
| min | string | The minimum amount that can be withdrawn using this payment method. |
| max | string | The maximum amount that can be withdrawn using this payment method. |