Refund Event
POST
https://api.zid.sa/v1/api/webhook/v1/thirdpartywebhook
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zid.sa/v1/api/webhook/v1/thirdpartywebhook' \
--header 'Authorization: Authorization: Basic secret_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "object",
"example": {
"type": "refund_status_changed",
"thirdPartyId": 1,
"merchantId": "45cb5978-c6cd-4e34-bd93-de6bee9b3cae",
"data": {
"refundId": "9f4b5fa0-bd22-40e4-b3ad-e6742f37a102",
"refundReference": "f781d5fa-9e8d-49b5-92a2-37321d5c8c4f",
"refundStatus": "refunded",
"amount": 5000
}
}
}'
Response Response Example
{}
Request
Header Params
Authorization
stringÂ
optional
Example:
Authorization: Basic secret_key
Body Params application/json
Responses
Modified at 2025-06-13 05:32:25