Get Supported Countries
GET/api/crypto-purchase/v2/supported-countries
Provide supported countries with their corresponding payment options and limits
Request
Query Parameters
The country ISO-3 code to fetch configuration for
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
]
countries
object[]
Contains the supported countries along with their corresponding payment options
ISO-3 Alpha Code
ISO-2 Alpha Code
The name of the country
paymentOptions
object[]
List of supported payment options for a country
Name of the supported payment option
Possible values: [CARD
, BALANCE
]
The payment method used by the customer
Description of the payment option
limits
object[]
Min and max limits for the supported payment option
The currency of the limit amounts
The minimum amount required for the payment
The maximum amount allowed for the payment
List of supported source currencies for a country
{
"countries": [
{
"code": "BGR",
"alpha2Code": "BG",
"name": "Bulgaria",
"paymentOptions": [
{
"name": "MASTERCARD",
"paymentMethod": "CARD",
"description": "Credit / Debit card",
"limits": [
{
"minAmount": 20,
"maxAmount": 2000,
"currency": "EUR"
}
],
"sourceCurrencies": [
"EUR",
"BGN"
]
}
]
},
{
"code": "AUT",
"alpha2Code": "AT",
"name": "Austria",
"paymentOptions": [
{
"name": "VISA",
"paymentMethod": "CARD",
"description": "Credit / Debit card",
"limits": [
{
"minAmount": 20,
"maxAmount": 20000,
"currency": "EUR"
}
],
"sourceCurrencies": [
"EUR",
"BGN"
]
}
]
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- unauthorized
Schema
Array [
]
error
object
Additional details about an error
The error code.
A description of the error.
Details of any parameter value errors.
fieldErrors
object[]
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": null,
"code": 5279,
"message": "Invalid credentials",
"details": [
"The authentication credentials are invalid."
]
}