Payment data information¶
Parameters¶
HTTP method |
Access rights |
URL | Note |
---|---|---|---|
GET | https://api.admitad.com/me/payment/settings/ |
|
|
GET | https://api.admitad.com/me/payment/settings/{currency}/ |
currency is the balance currency ID (System currencies), that you wish to display available methods of withdrawal for. |
* 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/payment/settings/
Example of the response from the API server in the JSON format:
[
{
"id": 23,
"name": "My settings #23",
"city": "New York",
"country": "US",
"currency": [
"USD"
],
"paypal_account": "khrushchev@nikita.com",
"address": "Lenina street, b. 12",
"withdrawal_type": "paypal",
"zip_code": "23412"
}
]
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/me/payment/settings/EUR/
Example of the response from the API server in the JSON format:
[
{
"city": "New York",
"name": "WMZ 123",
"country": "US",
"currency": [
"USD"
],
"conversion_rate": "1.08",
"address": "Lenina street, b. 12",
"webmoney_account": "Z123123123123",
"withdrawal_type": "webmoney",
"id": 3,
"zip_code": "220036"
},
{
"city": "New York",
"paypal_account": "khrushchev@nikita.com",
"name": "ka palka",
"country": "AL",
"currency": [
"EUR"
],
"conversion_rate": "1.00",
"address": "Lenina street, b. 12",
"withdrawal_type": "paypal",
"id": 7,
"zip_code": "124322"
},
{
"city": "New York",
"name": "WMR 234-392",
"country": "DE",
"currency": [
"RUB"
],
"conversion_rate": "82.71",
"address": "Lenina street, b. 12",
"webmoney_account": "R234497226392",
"withdrawal_type": "webmoney",
"id": 9,
"zip_code": "124322"
}
]
Description of API server response fields¶
Name |
Description |
---|---|
id | ID |
name | Name |
currency | Currency codes |
conversion_rate | Exchange rate |
city | City |
country | Country |
address | Address |
zip_code | Zip code |
withdrawal_type | Payment system type |
paypal_account | PayPal email address |
webmoney_account | WM wallet |
bank_account_owner | Bank account owner |
bank_account | Bank account number |
bank_code | Bank code |
bank_name | Name of bank |
bank_bic | BIC/SWIFT (for certain banks) |
bank_iban | IBAN (for certain banks) |