{
"id": "O-01H5WQGHKCBB85MQFM68S9KJ5Q",
"status": "PROCESSING",
"created_at": "2023-11-07T05:31:56Z",
"payment_method": {
"type": "ACCOUNT_BALANCE",
"currency": "USD"
},
"currency": "USD",
"total_price": "10.00",
"total_discount": "1.00",
"completed_at": "2023-11-07T05:31:56Z",
"description": "Your own reference text"
}Order completion
Order completion events are triggered when an order has completed processing.
{
"id": "O-01H5WQGHKCBB85MQFM68S9KJ5Q",
"status": "PROCESSING",
"created_at": "2023-11-07T05:31:56Z",
"payment_method": {
"type": "ACCOUNT_BALANCE",
"currency": "USD"
},
"currency": "USD",
"total_price": "10.00",
"total_discount": "1.00",
"completed_at": "2023-11-07T05:31:56Z",
"description": "Your own reference text"
}Webhook overview
status field to determine the type of payload you have received.
- Successfully completed orders will have a
statusofCOMPLETED - Failed orders will have a
statusofFAILED
Body
Sent when an order finishes processing, the body object will be one of the following schemas depending on the order status.
- Completed order webhook
- Failed order
Webhook message sent when an order has completed processing.
The ID of the order.
"O-01H5WQGHKCBB85MQFM68S9KJ5Q"
Always COMPLETED for this schema.
COMPLETED "PROCESSING"
UTC timestamp, in ISO 8601 format, when the order was submitted.
The payment method used for the order.
Show child attributes
Show child attributes
The currency of the order, represented by ISO 4217 currency codes. Please check the currency section in the guidelines for how to use this field.
^[A-Z]{3}$"USD"
The total price of the order. This includes any applicable fees.
^[0-9]+(\.[0-9]{1,2})?$"10.00"
The total discount of the order.
^[0-9]+(\.[0-9]{1,2})?$"1.00"
UTC timestamp, in ISO 8601 format, when the order was completed.
Free format text reference for the order. The order description will not be visible to the end user. You will see this description in the Runa web portal.
This field is optional and can be omitted if not needed.
If not provided, the field will be set to null in the response.
128"Your own reference text"
Response
Return a 200 status to indicate that the data was received successfully
Was this page helpful?