Authorization header. PayGood rejects any request that is missing this header or that presents an invalid key.
Authorization header format
Include the following header in every API request, replacing the placeholder with your actual key:Authenticated request examples
The examples below show how to make an authenticatedGET /payments request across common HTTP clients.
Authentication failures
If your request is missing theAuthorization header or your key is invalid, expired, or has been revoked, the API returns a 401 Unauthorized response:
401 errors after verifying your key, rotate your key and try again.