Getting a site's authorized billing countries

Learn how to retrieve a site's authorized billing countries.

You can use the GET /v1/sites/{siteId}/authorized-billing-countries resource to retrieve a list of all countries authorized to purchase products from your site. The list of authorized billing countries is configured in Global Commerce.

curl --location --request GET 'https://api.digitalriver.com/v1/sites/{siteId}/authorized-billing-countries' \
--header 'authorization: Basic ***\
...

Add the ?locale query parameter at the end of the request to get the list of authorized billing countries by locale. For example:

curl --location --request GET 'https://api.digitalriver.com/v1/sites/{siteId}/authorized-billing-countries?locale=en_US' \
--header 'authorization: Basic ***\
...

See Authorized billing country query parameters for more information.

Last updated