Accepted Countries
Use the /acceptedcountries
endpoint to manage the countries where you authorize your cardholders to transact.
List accepted countries objects
Copy section link
Action: GET
Endpoint: /acceptedcountries
Retrieve a list of acceptedcountries
objects.
URL query parameters
Copy section link
Fields | Description |
---|---|
count
integer
|
The number of Allowable Values: 1-10 Default Value: |
start_index
integer
|
The sort order index of the first resource in the returned array. Allowable Values: Any integer Default Value: |
name
string
|
The name of the Allowable Values: Existing |
whitelist
boolean
|
Specifies if the Allowable Values:
|
search_type
string
|
Specifies the type of search you want to perform. Allowable Values:
|
fields
string
|
Comma-delimited list of fields to return ( Allowable Values:
|
sort_by
string
|
Field on which to sort. Use any field in the resource model, or one of the system fields Prefix the field name with a hyphen ( Omit the hyphen to sort in ascending order. Allowable Values:
Default Value: |
Response body
Copy section link
Fields | Description |
---|---|
count
integer
|
The number of Allowable Values: 1-10 |
data
array of objects
|
An array of Allowable Values: A valid data array |
data[].country_codes
array of strings
|
A comma-delimited list of accepted countries by ISO 3166 three-digit country code. Allowable Values: ISO 3166 three-digit numeric codes.
For example, the numeric code for the United States is The ISO maintains the full list of country codes. |
data[].created_time
datetime
|
The date and time when the resource was created, in UTC.
Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
data[].is_whitelist
boolean
|
Specifies if the list of accepted countries in this object is an allow list.
If set to Allowable Values:
|
data[].last_modified_time
datetime
|
The date and time when the resource was last updated, in UTC.
Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
data[].name
string
|
The name of the Allowable Values: 99 char max |
data[].token
string
|
The unique identifier of the Allowable Values: 1–36 chars |
end_index
integer
|
The sort order index of the last resource in the returned array. Allowable Values: Any integer |
is_more
boolean
|
A value of Allowable Values:
|
start_index
integer
|
The sort order index of the first resource in the returned array. Allowable Values: Any integer |
Retrieve an accepted countries object
Copy section link
Action: GET
Endpoint: /acceptedcountries/{token}
Retrieve a specific acceptedcountries
object.
Send a GET
request to the /acceptedcountries
endpoint to retrieve existing acceptedcountries
object tokens.
URL path parameters
Copy section link
Fields | Description |
---|---|
token
string
|
The unique identifier of the Allowable Values: An existing |
URL query parameters
Copy section link
Fields | Description |
---|---|
fields
string
|
Comma-delimited list of fields to return ( Allowable Values:
|
Response body
Copy section link
Fields | Description |
---|---|
country_codes
array of strings
|
A comma-delimited list of accepted countries by ISO 3166 three-digit country code. Allowable Values: ISO 3166 three-digit numeric codes.
For example, the numeric code for the United States is The ISO maintains the full list of country codes. |
created_time
datetime
|
The date and time when the resource was created, in UTC.
Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
is_whitelist
boolean
|
Specifies if the list of accepted countries in this object is an allow list.
If set to Allowable Values:
|
last_modified_time
datetime
|
The date and time when the resource was last updated, in UTC.
Allowable Values: Format: yyyy-MM-ddThh:mm:ssZ |
name
string
|
The name of the Allowable Values: 99 char max |
token
string
|
The unique identifier of the Allowable Values: 1–36 chars |