Authentication
You'll need to authenticate your requests to access any of the endpoints in the Passona API. In this guide, we'll look at how authentication works. Passona offers one way to authenticate your API requests: Bearer Authorization header with a token.
Authentication bearer token
To authenticate with the Passona API, use a Authorization header with a Bearer
token. You will need your access token — you will find it in the Passona dashboard under API settings. Here's how to add the token to the request header using cURL:
Example request with bearer token
curl https://passona.co.uk/api/2.0/balance/ \
-H "Authorization: Bearer {token}"
Always keep your token safe and reset it if you suspect it has been compromised.
Using an SDK
If you use one of our official SDKs, you won't have to worry about any of the above — fetch your access token from the Passona dashboard under API settings, and the client library will take care of the rest. All the client libraries use Bearer token behind the scenes.