Authentication

We use Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. The bearer token is a cryptic string, usually generated by the server in response to a login request.

How to get a Bearer token

Kindly visit app.justpaid.io/settings/developer/api to get a Bearer token.

Kindly contact us in case you face any issues.

Usage

The client must send the bearer token in the Authorization header when making requests to protected resources:

Authorization: Bearer <token>

Example:

curl --request POST \
  --url https://exampleapi.justpaid.io/api/v1/customer/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
        "name": "<string>",
        "email": "<string>"
}'