Cost Calculator
List countries for Cost Calculator
Lists countries available for cost calculation
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow, acting as the user who authorized it. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Client credentials access token (OAuth2ClientCredentials) — obtained through the Client Credentials flow or the Refresh Token flow. See Authentication for partners.
- Employee-scoped access token (OAuth2Assertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
- Client token (ClientToken) — a partner client_token, accepted only on the endpoints that list it. See Authentication for partners.
get/v1/cost-calculator/countries
Request
- Base URLhttps://gateway.remote.com
- URLhttps://gateway.remote.com/v1/cost-calculator/countries
- Auth
- OAuth 2Authorization code: /auth/oauth2/authorizeToken URL: /auth/oauth2/token
- or OAuth 2Client credentialsToken URL: /auth/oauth2/token
- or OAuth 2Client credentialsToken URL: /auth/oauth2/token
- or OAuth 2Client credentialsToken URL: /auth/oauth2/token
- or HTTP bearer
- or HTTP bearer
Query parameters
include_premium_benefitsboolean
If the premium benefits should be included in the response
Response
Success
Example response
{
"data": [
{
"availability": "active",
"child_regions": [
{
"code": "USA",
"name": "United States",
"slug": "663e0b79-c893-45ff-a1b2-f6dcabc098b5"
}
],
"code": "PRT",
"currency": {
"code": "EUR",
"name": "European Euro",
"slug": "eur-3b840951-099f-4bd5-90b9-032f7bfe51d9",
"symbol": "€"
},
"has_additional_fields": "true",
"name": "Portugal",
"original_country_slug": "portugal-ab18d96a-a9fd-42c0-9688-24f963d8bdc1",
"region_slug": "663e0b79-c893-45ff-a1b2-f6dcabc098b5"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.