Skip to content

Authentication

Every request must be authenticated with your API token.

API tokens are issued per partner account. If you don’t have one yet, request access and we’ll set you up.

The API accepts the token two ways. Use the Authorization header wherever possible; the query parameter is a fallback for environments that can’t set headers.

Terminal window
curl https://connect.visamundi.io/v3/countries \
-H "Authorization: Bearer YOUR_TOKEN"
Terminal window
curl "https://connect.visamundi.io/v3/countries?access_token=YOUR_TOKEN"

The quickest check is the /hello endpoint — a lightweight authenticated ping. A valid token returns 200 with data: "Hello World!":

Terminal window
curl https://connect.visamundi.io/v3/hello \
-H "Authorization: Bearer YOUR_TOKEN"
{ "success": true, "statusCode": 200, "code": "ok", "data": "Hello World!" }

A missing or invalid token returns 403:

{
"success": false,
"statusCode": 403,
"code": "invalid_api_key",
"message": "API key is invalid or missing to access to the requested resource"
}

You can test your token live in the API reference — set it once in the authentication panel and every “try it” call will use it.

Request API access

Tell us a little about your integration and we'll get back to you within one business day with a partner token.