Skip to main content

Error Handling

HTTP Status Code Summary

The following HTTP Status Codes are returned by the API.

CodeDescription
200OK. The request was processed successfully (Check resCd for business logic result).
4XXBad Request. The request was invalid (Client-side error).
5XXServer Errors. An error occurred on the EasyPay server.

Response Format

The API-specific response code (resCd) and message (resMsg) are returned only when the HTTP Status Code is 200.

The basic response format for the EasyPay Online Payment API is as follows:

Response Body Example
{
"resCd" : "0000",
"resMsg" : "Success"
}