EBP V2 API Docs v0.5.21
EN

Errors #

The EBP API conveys error information through HTTP status codes and the resultCode and error objects in the response body.

Error Types #

TypeError TypeDescription
AAuthentication ErrorIssues related to authentication keys or unregistered APIs
BProtocol Format ErrorErrors in format, encryption, or mandatory parameter checks
CValidation ErrorValidation of reference data (e.g., min/max payment amount), member/product validity, payment status
DPayment Gateway ErrorErrors returned from the Payment Gateway
EIntegration ErrorErrors in integration with multiple systems such as store or EMP
ZEBP System ErrorMiscellaneous or system-level errors

Common Error Codes #

Result CodeHTTP StatusDescription
0200Success
EBP-A-0001400Authentication Error
EBP-B-0001400Invalid Payment Method Registration Info Type
EBP-B-0002400Missing Mandatory Payment Method Registration Info
EBP-C-0001400Invalid Payment Method Info
EBP-C-0002400Invalid Token Info
EBP-C-0003400Invalid PIN
EBP-C-0004400Validation Failed
EBP-C-0005400Other Validation Error
EBP-C-0006400Invalid Request Format
EBP-C-0007400Schema Mismatch
EBP-C-0008500Payment Processing Error
EBP-C-0009500Approval Failed
EBP-C-0010500Cancellation Failed
EBP-C-0011500Retry Recommended
EBP-C-0012500System Critical Error
EBP-Z-0001500Merchant Error
EBP-Z-0002500Order Request Error
EBP-Z-0003500Payment Request Error
EBP-Z-0004500Payment Approval Error
EBP-Z-0005500Payment Cancellation Error
EBP-Z-0010500Internal Server Error

Error Response Example #

Missing Mandatory Headers (EBP-A-0001) #

Occurs when mandatory headers required for the API call are missing.

Response Body:

{
  "resultCode": "EBP-A-0001",
  "message": "Missing Mandatory Headers",
  "requestId": "1704201234567",
  "timestamp": "2025-01-02T10:00:00Z",
  "errors": [
    {
      "header": "X-Store-Id",
      "message": "Missing Mandatory Header"
    },
    {
      "header": "X-Country-Code",
      "message": "Missing Mandatory Header"
    }
  ]
}

Validation Failed (EBP-C-0004) #

Occurs when request parameters are invalid. Detailed error information is included in the errors field.

Single Field Error
Multiple Fields Error
{
    "resultCode": "EBP-C-0004",
    "message": "Validation Failed",
    "requestId": "1767329889073",
    "timestamp": "2026-01-02T04:58:09.073097700Z",
    "data": null,
    "errors": [
        {
            "field": "userNo",
            "message": "The field 'userNo' must not be blank."
        }
    ]
}
{
    "resultCode": "EBP-C-0004",
    "message": "Validation Failed",
    "requestId": "1767331147785",
    "timestamp": "2026-01-02T05:19:07.785507100Z",
    "data": null,
    "errors": [
        {
            "field": "paymentMethodCode",
            "message": "The field 'paymentMethodCode' must not be blank."
        },
        {
            "field": "totalAmount",
            "message": "The field 'totalAmount' is required."
        },
        {
            "field": "cancelUrl",
            "message": "The field 'cancelUrl' must not be blank."
        },
        {
            "field": "currency",
            "message": "The field 'currency' must not be blank."
        },
        {
            "field": "successUrl",
            "message": "The field 'successUrl' must not be blank."
        },
        {
            "field": "purchaseChannel",
            "message": "The field 'purchaseChannel' is required."
        }
    ]
}
Last updated: 2026-06-12 01:23:04 © 2026 LG Electronics Inc. All rights reserved.