Errors

HTTP status codes, the error body, and the validation errors you're most likely to see.

EukaPay API uses conventional HTTP response codes to indicate the success or failure of an API request.

2xx status codes indicate success.

4xx status codes indicate an error that failed due to the information provided (for example a required parameter was omitted, etc.).

5xx status codes indicate an error with EukaPay's APIs.

Error Attributes

statusCode - number
Provides the associated HTTP status code

message - string or object
Provides a description of the error.

type - string
specifies error type - api_error, idempotency_error, or invalid_request_error.

CodeMeaningRetry?
200 OKThe request succeeded.—
400 Bad RequestA parameter is missing, invalid or outside a limit.No. Fix the request.
401 UnauthorizedThe API key is missing or invalid, or you're using a key from the wrong environment.No
402 Request FailedThe parameters were valid but the request failed.No
403 ForbiddenThe key doesn't have permission for this request.No
404 Not FoundThe resource doesn't exist.No
409 ConflictThe request conflicts with another request.Yes, after a delay
429 Too Many RequestsYou hit the rate limit.Yes, with exponential backoff
500, 502, 503, 504Server error.Yes, with the same idempotency key

Did this page help you?