Skip to content

Withdrawal

me/reserve_requests

Login required Pagination
Yes Yes

Only for publishers. List of withdrawal requests.

Example

requests.get('https://advgame.com/api/v1/me/reserve_requests/')
{
    "_meta": {
        "count": 4,
        "limit": 100,
        "offset": 0,
        "next": null,
        "previous": null
    },
    "results": [
        {
            "status": "NEW",
            "amount": "100.0000000000",
            "status_display": "NEW",
            "purse_type": "WEBMONEY",
            "created": "2018-05-03T16:14:15.518834+03:00",
            "purse_display_type": "WebMoney",
            "payment_requisites": "WebMoney: R984217345623",
            "id": 4,
            "currency__char_code": "RUB",
            "allowed_cancel": true
        },
        {
            "status": "CANCEL",
            "amount": "123.0000000000",
            "status_display": "CANCELED",
            "purse_type": "WEBMONEY",
            "created": "2018-04-27T18:58:22.667974+03:00",
            "purse_display_type": "WebMoney",
            "payment_requisites": "WebMoney: R984217345623",
            "id": 3,
            "currency__char_code": "RUB",
            "allowed_cancel": false
        },
        {
            "status": "CANCEL",
            "amount": "1000.0000000000",
            "status_display": "CANCELED",
            "purse_type": "WEBMONEY",
            "created": "2018-01-15T18:14:28.358719+03:00",
            "purse_display_type": "WebMoney",
            "payment_requisites": "WebMoney: R984217345623",
            "id": 2,
            "currency__char_code": "RUB",
            "allowed_cancel": false
        },
        {
            "status": "NEW",
            "amount": "500.0000000000",
            "status_display": "NEW",
            "purse_type": "WEBMONEY",
            "created": "2018-01-15T18:13:53.602141+03:00",
            "purse_display_type": "WebMoney",
            "payment_requisites": "WebMoney: R984217345623",
            "id": 1,
            "currency__char_code": "RUB",
            "allowed_cancel": true
        }
    ]
}

me/reserve_requests/create

Login required Pagination
Yes No

Only for publishers. Create withdrawal request.

POST-parameters

Parameter Description
amount Amount to withdraw in the currency of the selected wallet
purse_type Purse type (WEBMONEY, BANK, ZALEYCASH, YAMONEY, QIWI)
purse_id Purse ID

Example

requests.post('https://advgame.com/api/v1/me/reserve_requests/create/', data={
    'amount': '400.00',
    'purse_type': 'WEBMONEY',
    'purse_id': 11,
})
{
    "status": "NEW",
    "amount": "400.0000000000",
    "status_display": "NEW",
    "purse_type": "WEBMONEY",
    "created": "2018-05-03T19:03:52.576400+03:00",
    "purse_display_type": "WebMoney",
    "payment_requisites": "WebMoney: R984217345623",
    "id": 8,
    "currency__char_code": "RUB",
    "allowed_cancel": true
}