For the complete documentation index, see llms.txt. This page is also available as Markdown.

Country specifications

The Country Specifications resource streamlines the checkout process by providing detailed schemas based on the selling entity and country combination. It assists in determining the necessity and format of address components and tax identifiers, ensuring compliance with country-specific requirements. By leveraging this API, businesses can enhance their international operations and reduce friction during cross-border transactions.

The Country Specs API returns schemas based on the selling entity and country combination you provide. You can then use these schemas to determine whether an address component or tax identifier is required and also whether it is properly formatted.

Returns an array containing a country specification

get

Gets a country specification.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
countrystringRequired

Represents the expected billing or ship to country of the customer.

sellingEntitystringRequired

Represents the selling entity assigned to the order.

Responses
401

401 Unauthorized

application/json
typestring · enumOptionalExample: bad_requestPossible values:
get/country-specs

Last updated