Countries and currencies
In order to create a Pay in or Pay out request you'd have to provider a country's alpha-2 code. You can get that and currency details using the following GET request:
GET https://api.transavex.com/api/v1/country/available?direction=PayIn
Where direction is a required parameter with the following possible values:
- PayIn - countries available for pay in.
- PayOut - countries available for pay out.
Request example
curl --request GET \
--url 'https://api.transavex.com/api/v1/country/available?direction=PayIn' \
--header 'Content-Type: application/json' \
--header 'X-Client-Id: {{token}}' \
--header 'X-Signature: {{signature}}'
Response example
[
{
"nameRus": "Соединенные Штаты",
"nameEng": "United States",
"code": "US",
"currency": {
"code": "USD",
"symbol": "$"
}
}
]