Refund decision callbacks allow you to send a request to your refund management system when you approve or reject refunds within the Ravelin dashboard. Your refund management system can then either accept or cancel the refund.
Refund decision callbacks are sent in the following format:
POST https://your-refund-decisions-callback-url.com HTTP/1.1
Authorization: token YOUR_AUTH_TOKEN_OPTIONAL
Content-Type: application/json; charset=utf-8
{
"refundId": "123456789",
"label": "REJECTED|PENDING|APPROVED",
"reviewer": {
"name": "Thomas Anderson",
"email": "t.anderson@matrix.com"
},
"timestamp": "2020-01-23T17:32:58Z"
}
To configure refund decision callbacks, please contact us and provide us with your callback URL and an optional token.
Was this page helpful?