Skip to main content

API Conventions

Base URL

All endpoints are versioned under /api/v1.

Request format

  • All request bodies must be JSON with Content-Type: application/json
  • All monetary amounts are decimal strings (e.g. "49.99") — never numbers
  • All timestamps are ISO 8601 UTC (e.g. "2026-04-12T10:00:00.000Z")

Errors

All error responses use a consistent JSON structure:

HTTP status codes


Rate limits

When a rate limit is exceeded the API returns 429 Too Many Requests. Check the Retry-After response header for the number of seconds to wait before retrying.
Use webhooks instead of polling wherever possible — they are push-based and do not count toward rate limits.

Pagination

List endpoints support cursor-based pagination using page and limit parameters. Responses include a pagination object:

Amounts

All monetary amounts in requests and responses are decimal strings, not numbers. This prevents floating-point precision loss.

Timestamps

All timestamps in requests and responses are ISO 8601 strings in UTC. There is no timezone offset — all times are Z (UTC).