Using the Graph API Authenticating JSON Web Tokens
February 14, 2023 at 10:38 AMThe Pay’nUp API use JSON Web Tokens (JWT) to authorize calls, is an open standard that many companies use to provide secure access to protected resources.
Generate the token using APIKey
Once you have the token must include this bearer token in API requests in the Authorization header with the Bearer authentication scheme.
This sample request uses a bearer token to get list of products:
POST https://api.paynup.com
Content-Type: application/json
Authorization: Bearer {valid-access-token-goes-here}
{
"query": "query { {your-query-goes-here} }"
}