Error Handling
HTTP Status Code Summary
The following HTTP Status Codes are returned by the API.
| Code | Description |
|---|---|
| 200 | OK. The request was processed successfully (Check resCd for business logic result). |
| 4XX | Bad Request. The request was invalid (Client-side error). |
| 5XX | Server 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"
}