Reference

Errors

Error response shape and common HTTP status codes.

Modified at Apr 28, 2026, 05:38 AM UTC

REST errors are JSON and include a trace ID.

{  "error": true,  "code": "REQUEST_NOT_MATCH_SPEC_ERROR",  "message": "Ada yang salah dengan input kamu, cek kembali yuk!",  "source": "body",  "errors": {    "amount": ["Invalid input: expected number"]  },  "traceId": "01234567-89ab-cdef-0123-456789abcdef"}

Common Status Codes

HTTP statusMeaning
400Malformed body, unsupported content type, or bad request syntax.
401Missing or invalid API key.
402Insufficient balance for a paid action.
403The API key cannot access the requested feature.
404The resource does not exist or is not owned by the authenticated user.
409Conflict, including idempotency conflicts.
422Request validation failed or order data does not match the service schema.
429Rate limit exceeded.
500Internal server error.
503Service or provider is unavailable.

Validation Sources

SourceMeaning
bodyJSON body failed validation.
queryQuery string failed validation.
headersHeader failed validation.
paramsPath parameter failed validation.
orderPOST /api/order payload failed the service schema.