Errors API

Omise will return an error object with an HTTP status code in the 4xx range for certain classes of errors. This object contains the specific error code, a short explanation, as well as a link to a longer description for the error. For more details, see error types.

Attribute

Name Type Description
object string

The string error.

location string

URI for longer explanation of the error.

code string

Error code.

message string

A short explanation of the error.

Example

  • Json Response