Create and Process Order

How to submit an order for immediate processing.

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

Endpoint

POST {API_URL}/orders

Your API URL will be provided during onboarding.

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": "0198955e-8b4a-7c2f-9a21-4e8f2b7d6c10",
  "tracking2": "click-id-22132",
  "tracking3": "51",
  "tracking4": "insufficient funds",
  "tracking5": "4"
}

Currency Route IDs

Use route_id to select the currency route for the order.

route_idCurrency
1USD - US Dollar
3EUR - Euro
4GBP - Pound Sterling
5CAD - Canadian Dollar
6AUD - Australian Dollar
7NZD - New Zealand Dollar
8DKK - Danish Krone
9SEK - Swedish Krona
10NOK - Norwegian Krone

Account-specific values

Do not guess these values. Copy them from:

https://factoring.ltvx.dev/api-docs/factoring-v1

Request fieldPortal value
campaign_idCampaign ID
offers[].offer_idOffer IDs
tracking1Website 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.


Did this page help you?