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.
To configure refund decision callbacks, contact us and provide us with your callback URL and an optional token.
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": "APPROVED",
"reviewer": {
"name": "Thomas Anderson",
"email": "t.anderson@matrix.com"
},
"timestamp": "2020-01-23T17:32:58Z"
}
Was this page helpful?