Skip to main content

API Standards

Conventions

  • Base path: /api/v1
  • JSON request/response bodies
  • ISO 8601 timestamps
  • UUID identifiers
  • Pagination: ?page=0&size=20

Standard Error Response

{
"error": {
"code": "PAYMENT_INSUFFICIENT_FUNDS",
"message": "Insufficient available balance",
"correlation_id": "uuid",
"timestamp": "2026-01-15T10:30:00Z"
}
}

HTTP Status Codes

CodeUsage
200Success
201Created
202Accepted (async)
400Validation error
401Unauthenticated
403Unauthorized
404Not found
409Conflict (idempotency)
429Rate limited
500Internal error