v1
latestOpenAPI 3.0.12026-07-2412502.6 MBOrders
Process an order
Note: A <code>response_code=100</code> will indicate that the charge has been processed successfully with the gateway and there is no further action required. A <code>response_code=101</code> will indicate that there are more actions that need to be done in order to complete the charge. This is typical when using PayPal, AfterPay, Klarna or when using a 3 step redirect for 3DS transactions. To complete the transaction you will need to use the <code>/order/{order_id}/complete</code> method. Learn more <a href='https://docs.vrio.com/docs/handling-101-response-codes' target='_blank'>here</a>.
post/orders/{order_id}/process
Request body
Response
OK
Example response
{
"date_request": "2023-04-01 00:00:00",
"date_response": "2023-04-01 00:00:00",
"reattempt_data": [
{
"date_request": "2023-04-01 00:00:00",
"date_response": "2023-04-01 00:00:00"
}
],
"order": {
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00",
"date_authorized": "2023-04-01 00:00:00",
"date_auto_capture": "2023-04-01 00:00:00",
"date_ordered": "2023-04-01 00:00:00",
"date_capture": "2023-04-01 00:00:00",
"cart": {
"campaign": {
"campaign_checkout_upsell": {
"items": [
{
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
]
}
},
"order": {
"date_authorized": "2023-04-01 00:00:00",
"date_ordered": "2023-04-01 00:00:00"
},
"offers": [
{
"gift_date": "2023-04-01 00:00:00",
"upsells": [
{
"items": [
{
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
]
}
]
}
]
},
"order_offers": [
{
"date_cancel": "2023-04-01 00:00:00",
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00",
"date_ordered": "2023-04-01 00:00:00",
"date_reactivate": "2023-04-01 00:00:00",
"date_pause": "2023-04-01 00:00:00",
"date_unpause": "2023-04-01 00:00:00",
"last_recurring_date": "2023-04-01 00:00:00",
"next_recurring_date": "2023-04-01 00:00:00",
"order_offer_shipments": [
{
"date_cancel": "2023-04-01 00:00:00",
"date_scheduled": "2023-04-01 00:00:00",
"date_complete": "2023-04-01 00:00:00",
"date_scan": "2023-04-01 00:00:00",
"date_deliver": "2023-04-01 00:00:00",
"date_return": "2023-04-01 00:00:00",
"date_skip": "2023-04-01 00:00:00",
"date_rma": "2023-04-01 00:00:00",
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
],
"order_offer_items": [
{
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
],
"order_offer_gifts": [
{
"gift_date": "2023-04-01 00:00:00",
"gift_date_sent": "2023-04-01 00:00:00"
}
]
}
],
"customer_card": {
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
},
"upsells": [
{
"items": [
{
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
]
}
]
}