Create and Process Order

Use the create-and-process order endpoint to submit a Factoring Decline v1 transaction.

Endpoint

POST https://api.vrio.app/orders

Headers

X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: application/json

Minimal request shape

{
  "connection_id": 1,
  "campaign_id": 123,
  "email": "[email protected]",
  "offers": [
    {
      "offer_id": 456,
      "order_offer_quantity": 1,
      "order_offer_price": 7.00
    }
  ],
  "ship_fname": "John",
  "ship_lname": "Doe",
  "ship_address1": "123 Main St",
  "ship_city": "New York",
  "ship_state": "NY",
  "ship_country": "US",
  "ship_zipcode": "10001",
  "same_address": true,
  "card_type_id": 2,
  "payment_method_id": 1,
  "card_number": "4111111111111111",
  "card_exp_month": 12,
  "card_exp_year": 2030,
  "card_cvv": "123",
  "action": "process",
  "tracking1": "98765",
  "tracking2": "click-id-22132",
  "tracking3": "51",
  "tracking4": "insufficient funds",
  "tracking5": "4"
}

Account-specific values

Do not guess these values. Copy them from:

https://factoring.ltvx.dev/settings

Request fieldPortal value
campaign_idVrio Campaign ID
offers[].offer_idVrio Offer IDs
tracking1Affiliate ID

Matching later results

Set tracking2 to your own click ID or order reference.

The postback payload returns this value as clickID, so your system can match the payment result to the original order.