Add a new order. A unique order can have one or multiple Offers, or line items, associated with it.
An order can be created and processed or authorized at the same time. When passing an action value, there are more fields that would be required on the order, these fields are tagged with required with action and conditionally required with action
When passing an action value, a response_code=100
will indicate that the charge has been processed successfully with the gateway and there is no further action required. A response_code=101
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 /order/{order_id}/complete
method. Learn more here.
post https://api.vrio.app/orders