API
Authentication
Authentication of API endpoints
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.
Kindly contact us to get access to or activate your Bearer token.
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>"
}'