This webook event is triggered when a transaction void or refund for a previously completed transaction is completed.
Request example
{
"event": {
"id": "evt_01JS21X856RR8R69GV5F17XK9C",
"type": "refund.completed",
"timestamp": "2025-04-16T14:30:00Z"
},
"originalResponse": {
"id": "trx_01J2F0ZJ2JW5B63CJFPXRGAB1S",
"type": "Refund",
"status": "Completed",
"timestamp": "2025-05-27T18:49:31Z",
"resultCode": 0,
"resultText": "APPROVED",
"orderNumber": "order_number_1234",
"referenceId": "ref_s192i49i",
"accountHolder": {
"id": "aho_01JRZPRGFF4J2SZC3HMDBYEN2J",
"contact": {
"city": "Chicago",
"name": "John Doe",
"state": "IL",
"address": "300 S Wacker Dr",
"zipCode": "60606",
"countryCode": "US"
},
"externalId": "usr_1234567890123"
},
"invoiceNumber": "inv_1234567890123456",
"paymentMethod": {
"id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
"type": "Token",
"cardType": "VISA",
"currency": "USD",
"cardExpDate": "1225",
"description": "Token for John Doe's Visa",
"billingContact": {
"city": "Anytown",
"name": "John Doe",
"state": "NY",
"address": "123 Main St",
"zipCode": "12345",
"countryCode": "US"
},
"maskedCardNumber": "************0011"
},
"approvedAmount": 1000,
"requestedAmount": 1000,
"transactionResponses": [
{
"authCode": "123456",
"cardType": "VISA",
"avsResult": "Y",
"cvvResult": "M",
"accountType": "Credit",
"responseCode": 1,
"paymentMethod": {
"id": "pmt_tkn_01JRZPRGFF4J2SZC3HMDBYEN2J",
"type": "Token",
"cardType": "VISA",
"currency": "USD",
"cardExpDate": "1225",
"description": "Token for John Doe's Visa",
"billingContact": {
"city": "Anytown",
"name": "John Doe",
"state": "NY",
"address": "123 Main St",
"zipCode": "12345",
"countryCode": "US"
},
"maskedCardNumber": "************0011"
},
"amountApproved": 1000,
"hostResponseText": "APPROVED 00"
}
]
}
}
Response examples (200)
{
"value": {}
}