Info about the publisher balance¶
Parameters¶
HTTP method |
Access rights |
URL | Note |
---|---|---|---|
GET | https://api.admitad.com/me/balance/ |
|
|
GET | https://api.admitad.com/me/balance/extended/ |
|
* Returns the result in the JSON format.
Example of use¶
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/me/balance/
Example of the response from the API server in the JSON format:
[
{
"currency": "USD",
"balance": "20000.00"
},
{
"currency": "EUR",
"balance": "0.00"
},
{
"currency": "RUB",
"balance": "0.00"
}
]
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/me/balance/extended/
Example of the response from the API server in the JSON format:
[
{
"currency": "USD",
"balance": "100.00",
"processing": "0.00",
"today": "0.00",
"stalled": "0.00"
},
{
"currency": "EUR",
"balance": "120943.00",
"processing": "233123.00",
"today": "0.00",
"stalled": "157.00"
},
{
"currency": "RUB",
"balance": "2023.00",
"processing": "1476345.02",
"today": "932.00",
"stalled": "10.00"
}
]
Description of API server response fields¶
Name |
Description |
---|---|
currency | Currency code |
balance | Balance amount |
processing | On hold |
today | Earned today |
stalled | Delayed |