Skip to main content

Conventions

  • JSON in, JSON out. Request and response fields are snake_case.
  • Amounts are integers in the currency’s minor unit.
  • Timestamps are ISO 8601.
  • Your own user id travels as external_customer_id / external_id.

Errors

A non-2xx response carries a message:
The SDKs raise SleetPayError (status, body, message) and already retry 429 and, for GETs, 502, 503 and 504.

Idempotency

Usage events and credit transfers take an idempotencyKey and are safe to retry. Seat assignment is idempotent per email, license activation per label. For checkouts, create a new one per attempt.

Pagination

List endpoints return:
and accept ?page=1&limit=10 (limit up to 100). The SDKs expose iterate() to walk every page for you.

Versioning and the spec

All endpoints live under /api/v1. The OpenAPI 3.1 document is at /api/v1/openapi.json, with no key needed: import it into Postman or Insomnia, or generate a client in any language.