Skip to main content
GET
Read the primary operating country
This route returns the TenantCountry relation marked as primary for the tenant of the current token. The primary country is used as the default context when some flows need to calculate fees or route a payment without a reliable explicit country. If no primary country is configured on an older account, the response can contain data: null. In that case, existing flows keep their historical fallback.

Authorizations

x-sp-auth-token
string
header
required

Bearer token obtained with the client_id and client_secret of the application created in SoleasPay. Format: Bearer <access_token>.

Response

Pays primaire ou null