Authorize an orderCopy Pagepost https://api.vrio.app/orders/{order_id}/authorize Path Paramsorder_idintegerrequiredBody Paramsoffersarray of objectsDefine the offers and Items to be used. Use an array if adding multiple Item and Offer combinations. This includes Upsells. Offers will be required on this method if there are not any existing offers on the order.offersADD objectoffers_restrictbooleanWhen passing offers, use this flag to mark all the existing order offers as Removed.truefalsecampaign_idintegerAssociate order with a new campaign.force_campaign_idbooleanIf there is a campaign already on the order, pass this flag in conjunction with a campaign_id to change it to a new campaign. All campaign configurations will be used with the new campaign_id. Required when passing a campaign_id.truefalsecustomers_address_billing_idintegerA billing address is required to process an order. Either passing an an address id or creating a new address with the bill_ fields.customers_address_shipping_idintegerA shipping address is required to process an order that has a shippable item. Either passing an an address id or creating a new address with the ship_ fields.bill_fnamestringBilling first name. Required when customers_address_billing_id is empty.bill_lnamestringBilling last name. Required when customers_address_billing_id is empty.bill_address1stringBilling address line 1. Required when customers_address_billing_id is empty.bill_address2stringBilling address line 2bill_citystringBilling city. Required when customers_address_billing_id is empty.bill_countrystringBilling country code, 2 letters (example : US). Required when customers_address_billing_id is empty.bill_organizationstringBilling organization.bill_statestringBilling state. Required when customers_address_billing_id is empty and bill_county is US or CA.bill_zipcodestringBilling zipcode. Required when customers_address_billing_id is emptysame_addressbooleanPass as true to use the same address for billing and shipping. Only one of those is required in that case.truefalseship_fnamestringShipping first name. Required when customers_address_shipping_id is empty and order has shippable items.ship_lnamestringShipping last name. Required when customers_address_shipping_id is empty and order has shippable items.ship_address1stringShipping address line 1. Required when customers_address_shipping_id is empty and order has shippable items.ship_address2stringShipping address line 2ship_citystringShipping city. Required when customers_address_shipping_id is empty and order has shippable items.ship_countrystringShipping country code, 2 letters (example : US). Required when customers_address_shipping_id is empty and order has shippable items.ship_organizationstringShipping organizationship_statestringShipping state. Required when customers_address_shipping_id is empty and order has shippable items and ship_country is US or CA.ship_zipcodestringShipping zipcode. Required when customers_address_shipping_id is empty and order has shippable items.shipping_profile_idintegerShipping profile to be used to determine shipping logic. Required if shipping profiles are setup on the campaign and there are shippable items on the order.payment_method_idintegerenum 1 - Credit Card 2 - Check 3 - Google Pay 4 - Apple Pay 5 - Cash 6 - Paypal 7 - Alternative Payments Sofort 8 - Alternative Payments POLi 9 - Alternative Payments SEPA 10 - ACH 11 - Afterpay 12 - Klarna 13 - SEPA 112345678910111213Show 13 enum valuesmerchant_idintegerForce a specific merchant to use for this order. This will override any campaign payment configuration.merchant_descriptorstringSome gateways allow for Vrio to pass the merchant descriptor dynamically when processing a charge. This is configured when setting up the merchant account in Vrio. Override the value on the merchant account by passing this field.route_idintegerForce a specific route to use for this order. This will override any campaign payment configuration.currency_idintegerForce a specific currency to use for this order. This will override any campaign payment configuration.order_taxstringOverride the tax applied on that order. This will override any campaign payment configuration.customer_card_idintegerA customer card is required when using the CC payment method. Either passing an existing customer card id or using the card_ fields.card_type_idinteger | nullenumRequired when passing payment method ID = 1 and when not passing a customer card ID. 1 - Mastercard 2 - Visa 3 - Discover 4 - American Express 1null1234Allowed:null1234card_numberstringRequired when passing payment_method_id = 1 and when not passing a customer_card_id. Must be 15 or 16 digits with no other characters.card_cvvstringRequired when passing payment_method_id = 1 and when not passing a customer_card_id.card_exp_monthintegerCard Expiration month (08). Required when passing payment_method_id = 1 and when not passing a customer_card_id.card_exp_yearintegerCard Expiration year (2018). Required when passing payment_method_id = 1 and when not passing a customer_card_id.check_presentbooleanOnly used with the check payment method (if available).truefalsecheck_numberstringRequired when passing payment_method_id = 2.check_amountstringRequired when passing payment_method_id = 2.bank_account_numberstringRequired when passing payment_method_id = 10.bank_routing_numberstringRequired when passing payment_method_id = 10.ibanstringRequired when passing payment_method_id = 13.redirect_urlstringRedirect url used for 3ds three step process, PayPal, Klarna and Afterpaypayment_tokenstringUsed to process apple pay/google pay or paypal.gift_cardsarray of objectsIf a gift card should be used towards to order total, include the gift card parameters.gift_cardsADD objectapply_customer_balancestringApply a customer balance amount to that order.date_auto_capturedate-timeAuto capture date (2025-08-17 00:00:00) in EST. For authorizations only.order_cardholder_autharray of strings3D SECURE ONLY Indicates whether a transaction qualifies as an authenticated transaction or account verification. Array of values (for each transaction cycle). Example : ["Y","Y"]order_cardholder_authADD stringorder_eciarray of strings3D SECURE ONLY E-commerce indicator. Array of values (for each transaction cycle). Example : ["05","05"]order_eciADD stringorder_cavvarray of strings3D SECURE ONLY Cardholder authentication verification value. Array of values (for each transaction cycle). Example : ["XXkBB3eIFgAAAAnDhAIJdQXXXXX=","XXkBB3eIFgAAAAnDhAIJdQXXXXX="]order_cavvADD stringorder_3ds_versionarray of strings3D SECURE ONLY Version of the 3D Secure that was used when the transaction was already authenticated using an external MPI. For example: 1.0.2 or 2.1.0. Array of values (for each transaction cycle). Example : ["2.1.0","2.1.0"]order_3ds_versionADD stringorder_3ds_ds_transaction_idarray of stringsVersion 2+ 3D SECURE ONLY Cardholder authentication transaction id. Array of values (for each transaction cycle). Example : ["XXXXXXX-37b6-4ba7-b50b-b4491515eaf4","XXXXXXX-37b6-4ba7-b50b-b4491515eaf4"]order_3ds_ds_transaction_idADD stringorder_xidarray of stringsVersion 1 3D SECURE ONLY Cardholder authentication transaction id. Array of values (for each transaction cycle)order_xidADD stringorder_3ds_enrollment_statusarray of strings3D SECURE ONLY Indicates whether a transaction qualifies as a being enrolled for 3DS authentication. Array of values (for each transaction cycle). Example : ["E","E"]order_3ds_enrollment_statusADD stringorder_3ds_bypass_reattemptarray of booleans3D SECURE ONLY If this flag is passed, 3ds values will not be posted to the gateway for reattempts. Array of values (for each transaction cycle). Example : [0,1]order_3ds_bypass_reattemptADD booleansession_idstringA custom session id to associate with the order.ip_addressstringCustomer IP Address at the time of ordertracking1stringCustom Tracking Variable Option 1tracking2stringCustom Tracking Variable Option 2tracking3stringCustom Tracking Variable Option 3tracking4stringCustom Tracking Variable Option 4tracking5stringCustom Tracking Variable Option 5tracking6stringCustom Tracking Variable Option 6tracking7stringCustom Tracking Variable Option 7tracking8stringCustom Tracking Variable Option 8tracking9stringCustom Tracking Variable Option 9tracking10stringCustom Tracking Variable Option 10tracking11stringCustom Tracking Variable Option 11tracking12stringCustom Tracking Variable Option 12tracking13stringCustom Tracking Variable Option 13tracking14stringCustom Tracking Variable Option 14tracking15stringCustom Tracking Variable Option 15tracking16stringCustom Tracking Variable Option 16tracking17stringCustom Tracking Variable Option 17tracking18stringCustom Tracking Variable Option 18tracking19stringCustom Tracking Variable Option 19tracking20stringCustom Tracking Variable Option 20Responses 200OK 400Process Error response 401Unauthorized response 403Forbidden response 500Error responseUpdated 7 days ago