status
field to determine which type of response you are receiving.
- Completed orders will have a
status
ofCOMPLETED
orFAILED
and have a full response body. - Incomplete orders will have a
status
ofPROCESSING
and have a partial response body.
Authorizations
Headers
The dated version of the API, if not specified a default is used. See API versioning for more information.
Path Parameters
The ID of the order.
Response
OK
- Completed order
- Incomplete order
Used for an order that has completed. This class is typically used when returning a single order to the client. 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
, FAILED
, PROCESSING
"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"
The list of items that were included in the order. Each item represents a single payout link.
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"
A mapping of the subtotal of the order using the payout currency as a key.
{ "USD": { "value": "10.00", "fx": null } }
A flexible field for you to attach additional, customer-specific data to the order. This is for your internal use, the information stored here will not be exposed to the end user.
- All keys and their corresponding values must be strings
- Each order supports up to 20 key-value pairs
- Keys have a maximum length of 40 characters
- Values can be up to 200 characters long.
This field is optional and can be omitted if not needed.
If not provided, the field will be set to null
in the response.
{
"internal_id": "12345",
"department": "marketing",
"campaign": "summer_2024"
}