Skip to content

Platform API

Errors & Conventions ​

Status codes, error shapes, pagination, and what's not yet supported.

Status codes ​

StatusWhen
401 UnauthorizedAny authentication failure. See Authentication for why these are intentionally generic.
400 Bad RequestRequest payload, query, or path parameters fail validation.
413 Payload Too LargeRequest body exceeds the server's configured payload limit.
404 Not FoundThe requested resource (e.g. an account or person UUID) doesn't exist.

Error response shape ​

Validation and authentication errors follow the standard shape. Validation errors additionally include a fields object describing which field(s) failed:

json
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "\"limit\" must be less than or equal to 100",
  "fields": { "limit": "must be less than or equal to 100" }
}

Authentication errors (see Authentication) omit fields since they never include one.

Pagination ​

Pagination is not uniform across list endpoints today. Check each endpoint's schema before relying on defaults.

GET /v1/accounts supports limit (defaults to 50, max 100) and offset (defaults to 0), and returns:

json
{
  "data": [ /* ... */ ],
  "metadata": {
    "total": 137,
    "limit": 50,
    "offset": 0
  }
}

GET /v1/transfers also accepts limit/offset, but neither has a default or a max cap. If omitted, no limit or offset is applied at all. Its metadata shape also differs, using more_rows instead of a guaranteed total:

json
{
  "data": [ /* ... */ ],
  "metadata": {
    "offset": 0,
    "limit": 50,
    "more_rows": true
  }
}

Other endpoints (e.g. resource sub-lists) may not follow either convention. Check the specific endpoint's reference page.

Versioning ​

Paths are prefixed /v1/. There's no formal versioning or deprecation policy yet beyond that prefix. Breaking changes will be communicated directly rather than via a version negotiation mechanism today.

Rate limiting ​

Not implemented today. There are no rate limits or 429 responses on PAPI. Don't build client-side backoff logic around rate-limit headers, as none are sent.

Idempotency ​

Write operations (creating accounts, transfers, withdrawals) don't support an idempotency key today. A retried write request is not automatically deduplicated. Design your integration to tolerate this (e.g. check resource state before retrying a write) until idempotency support ships.

See also ​