Refund Decisions

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.

Callback format

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"
}

Show all
timestamp string

The time at which the refund decision was completed.

refundId string

The ID of the refund that was reviewed.

label string

The label applied to the refund.

One of:

  • APPROVED
  • PENDING
  • REJECTED
reviewer object

The individual who reviewed the refund.

Show definition

Feedback