insufficient_ scope
The API key isn't allowed to do this.
On this page
HTTP status: 403 Forbidden. Retrying the same request unchanged fails the same way.
Why it happens
- Keys carry scopes: read for lookups, payments to create payments, payouts to move money.
What to do
Use a key that has the scope this operation needs.
Example
The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.
{
"type": "https://docs.nowgate.io/errors/insufficient_scope",
"title": "Forbidden",
"status": 403,
"detail": "What exactly was wrong, in a sentence.",
"instance": "/v1/payments",
"code": "insufficient_scope",
"request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}