Skip to main content
This reference is essential for understanding Specter — the pre-authorization fraud decision service of the Hellgate Cloud Platform — and integrating with it successfully. Specter APIs make use of RESTful conventions where it makes sense. All calls use the standard HTTP verbs to express access semantics, like GET, POST, PATCH, and DELETE. Other related conventions are described below.

JSON Conventions

  • Resources are addressable by a UUID id property.
  • 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 the Authorization header. This OAuth2 bearer scheme is the standard across the Hellgate Cloud Platform services — see Authentication.
Tokens carry scopes that gate access to individual endpoints, and are validated against your instance’s audience on each request. See Authentication for the full scope reference. Tokens must be handled with care and kept secure. Never hardcode them in your source code — keep them solely on your backend systems.

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:
The response wraps the results in data and includes a links object for paging forward:
When there are no further pages, links.next is null.

Request Errors

Specter uses standard HTTP status codes to indicate client errors on the API level.
The response payload for processing errors follows a standard format.
Common classifiers:

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.