GET, POST, PATCH, and DELETE. Other related conventions are described below.
JSON Conventions
- Resources are addressable by a UUID
idproperty. - Property names are always in
snake_case. - Temporal data is encoded in ISO 8601 strings.
- Monetary amounts are integers in the minor units of the transaction currency (e.g.
14999= €149.99). - Currencies are ISO 4217 codes.
Authentication
Specter authenticates every request with a signed JSON Web Token (JWT) passed as a bearer token in theAuthorization header. This OAuth2 bearer scheme is the standard across the Hellgate Cloud Platform
services — see Authentication.
API Use
Instance URL
Specter is provided as a service of the Hellgate Cloud Platform implementing the Composable Payment Architecture (CPA). Each instance is accessible at a unique host:{instance} is your unique instance slug and eu1 is the current environment; both are provided during onboarding.
Pagination
Endpoints that return lists of objects support pagination. Specter uses cursor-based pagination with the following query parameters:
Example request:
data and includes a links object for paging forward:
links.next is null.
Request Errors
Specter uses standard HTTP status codes to indicate client errors on the API level.- Errors - HTTP 4xx
- Validation Errors - HTTP 422
The response payload for processing errors follows a standard format.
Security Considerations
Specter evaluates sensitive payment data and requires strict security practices:- All communication must use HTTPS.
- Bearer tokens must be stored securely and never exposed to clients.
- The full PAN supplied in a decision request is used only for evaluation and fingerprinting — it is never persisted.