{
"type": "order.failed",
"timestamp": "2024-01-03T14:25:07Z",
"data": {
"id": "O-01H5WQGHKCBB85MQFM68S9KJ5Q",
"status": "FAILED",
"reason": "fraud"
}
}Order failed
Order failed events are triggered when an order fails.
WEBHOOK
order.failed
{
"type": "order.failed",
"timestamp": "2024-01-03T14:25:07Z",
"data": {
"id": "O-01H5WQGHKCBB85MQFM68S9KJ5Q",
"status": "FAILED",
"reason": "fraud"
}
}Webhook overview
Webhooks work differently to the API endpoints. Take a read of our guide to
understand how they work.
order.completed, it replaces order.completion.
Use reason to decide what to do next:
fraud: Runa’s fraud checks blocked the order.generic: the order failed for any other reason.
Body
application/json
The failed order
Standard Webhooks envelope sent when an order fails. The order is in data.
Response
200
Return a 200 status to indicate that the data was received successfully
Was this page helpful?