Refund Callback

Register your Refund Callback URL and get Refund status

Method and URL

POST www.yourcompany.com/payment_callback_url

Request

Header Request

Parameter
Data Type
Requirement
Description

X-API-Key

String

M

Callback API Key, an additional API Key used specifically for receiving callbacks

Content-Type

String

M

application/JSON

Accept

String

M

application/JSON

Request Body

{
  "event": "REFUND.SUCCESS",
  "data": {
    "id": "01990e4f-bb8d-7e3d-ba3f-463176c925e8",
    "clientReferenceId": "1755054798",
    "paymentSessionId": "edb4e7c4-7842-4ec6-831a-f85c5bbdf3a4",
    "chargeId": "4f5eebdd-00ba-4202-b6ed-7056c1865f2d",
    "capturedAmount": {
      "currency": "IDR",
      "value": "10000.00"
    },
    "isFullAmount": false,
    "amount": {
      "currency": "IDR",
      "value": "500.00"
    },
    "status": "SUCCESS",
    "reason": "REQUESTED_BY_CUSTOMER",
    "description": "Refund due to duplicate transaction",
    "destinationType": "ACCOUNT",
    "method": "AUTO",
    "transferDestination": {
      "channelCode": "BCA",
      "channelInformation": {
        "accountNumber": "17677665415",
        "accountName": "Reforza Jordan Geotama"
      },
      "description": "Refund Pivot"
    },
    "metadata": {
      "notes": "Customer called support"
    },
    "createdAt": "2025-09-03T06:42:10Z",
    "updatedAt": "2025-09-03T06:42:13Z"
  }
}

Detail Parameter Request

Parameter
Data Type
Requirement
Description

event

String

M

List of Event Names:

  1. REFUND.PENDING

  2. REFUND.WAITING_BANK_TRANFER

  3. REFUND.SUCCESS

  4. REFUND.FAILED

Refund

Object

M

Last updated