Webhook overview
status
field to determine the type of payload you have received.
- Successfully completed orders will have a
status
ofCOMPLETED
- Failed orders will have a
status
ofFAILED
Body
Sent when an order finishes processing, the body object will be one of the following schemas depending on the order status.
Webhook message sent when an order has completed processing. Used for orders that have completed. This class is typically used when returning a list of orders to the client.
The ID of the order.
"O-01H5WQGHKCBB85MQFM68S9KJ5Q"
Status of the order. The status of the order.
COMPLETED
"PROCESSING"
UTC timestamp, in ISO 8601 format, when the order was submitted.
The payment method used for the order. Account balance payment.
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.
"USD"
The total price of the order. This includes any applicable fees.
"10"
The total discount of the order.
"1"
UTC timestamp, in ISO 8601 format, when the order was completed.
Free format text reference for the order. Not visible to the end user. Will be visible to you in the Runa web portal.
128
"Your own reference text"
Response
Return a 200 status to indicate that the data was received successfully