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