{instance} is your unique instance slug and eu1 is the current
environment:
Authentication
Every API request must carry an OAuth2 access token — a signed JSON Web Token (JWT) — in theAuthorization header:
my-lovely-specter-42).
Scopes
Each endpoint requires a specific scope. Request only the scopes a given integration needs through thescope parameter when you request a token.
| Scope | Grants |
|---|---|
decisions:create | POST /api/decisions |
decisions:read | GET /api/decisions/{id} |
decisions:write | POST /api/decisions/{id}/resolve |
events:create | POST /api/events |
events:read | GET /api/events/{id} |
interceptors:execute | POST /api/interceptors/{ref} |
admin:rulesets:read | GET /api/admin/rulesetsGET /api/admin/rulesets/{id} |
admin:rulesets:create | POST /api/admin/rulesets |
admin:rulesets:write | PATCH /api/admin/rulesets/{id}POST /api/admin/rulesets/{id}/activatePOST /api/admin/rulesets/{id}/rollback |
admin:interceptors:read | GET /api/admin/interceptorsGET /api/admin/interceptors/{id} |
admin:interceptors:write | POST /api/admin/interceptorsPATCH /api/admin/interceptors/{id}POST /api/admin/interceptors/{id}/activatePOST /api/admin/interceptors/{id}/rollbackDELETE /api/admin/interceptors/{id} |
admin:blacklist:read | GET /api/admin/blacklistGET /api/admin/blacklist/{id} |
admin:blacklist:write | POST /api/admin/blacklistDELETE /api/admin/blacklist/{id} |
Runtime scopes (
decisions:*, events:*, interceptors:execute) belong to your payment integration.
The admin:* scopes are for configuration and operations, and should be issued to operator or back-office clients only.Next steps
API
Send your first decision request.