# Webhook - Payment Refunded ## 1. Webhook Overview ### Purpose [context] This Webhook event is sent from the EBP system to the store when a full or partial refund for a captured payment is successfully processed.
Through this event, the store can verify the refund result in real-time and proceed with subsequent processes such as order status update, inventory recovery, and customer notification. [/context] > **Note**: A registered URL is required to receive Webhooks. (Contact: [ebp-server@lge.com](mailto:ebp-server@lge.com)) ### Details [table:key-value] | Item | Value | | :--- | :--- | | **Webhook Name** | Payment Refunded | | **Event Type** | `PAYMENT_REFUNDED` | | **HTTP Method** | [badge:POST,blue,lg] | | **Region** | [badge:Global,green-subtle,lg] | [/table] @@include:webhook-authentication.md@@ ## 3. Data Schema ### 3.1. Payload Data Schema | depth | Field | Details & Description | | :--- | :--- |:--------------------------------------------------------------------------------------------------------------------| | -1 | eventType | [type:string] [req:Yes] [desc:Event type] [eg:PAYMENT_REFUNDED] | | -1 | eventTime | [type:string] [req:Yes] [desc:Timestamp when the event occurred[tooltip:UTC, ISO-8601]] [eg:2025-12-30T10:00:00Z] | | -1 | data | [type:object] [req:Yes] [desc:Detailed refund data] | | 0 | orderNo | [type:string] [req:Yes] [desc:Order number issued by EBP] [eg:ORD_7202603277730794] | | 0 | paymentStatus | [type:string] [req:Yes] [desc:Payment status code] [eg:REFUNDED] | | 0 | refundedAmount | [type:number] [req:Yes] [desc:Refunded amount] [eg:50000] | | 0 | currencyCode | [type:string] [req:Yes] [desc:Currency code. ISO 4217] [eg:USD] | | 0 | exponent | [type:number] [req:Yes] [desc:Currency decimal exponent] [eg:2] | | 0 | resultCode | [type:string] [req:Yes] [desc:EBP result code ('0' for success)] [eg:0] | | 0 | resultMessage | [type:string] [req:Optional] [desc:Result message] [eg:SUCCESS] | | 0 | refundedAt | [type:string] [req:Yes] [desc:Timestamp when the refund was completed[tooltip:UTC, ISO-8601]] [eg:2025-12-30T10:00:00Z] | | 0 | pgProvider | [type:string] [req:Yes] [desc:Payment Gateway provider code] [eg:WORLDPAY, OMISE] | ## 3.2. Payload Example ### HTTP Request ```http POST /your-webhook-endpoint HTTP/1.1 Content-Type: application/json x-webhook-signature: 25f0e... (HMAC-SHA256 Hex String) x-webhook-signature-timestamp: 1735552800 (Unix Epoch Seconds) { "eventType": "PAYMENT_REFUNDED", "eventTime": "2025-12-30T10:00:00Z", "data": { "orderNo": "ORD_7202603277730794", "paymentStatus": "REFUNDED", "refundedAmount": 50000, "currencyCode": "USD", "exponent": 2, "resultCode": "0", "resultMessage": "SUCCESS", "refundedAt": "2025-12-30T10:00:00Z", "pgProvider": "WORLDPAY" } } ```