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}/ordersYour API URL will be provided during onboarding.
Headers
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: application/jsonMinimal 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_id | Currency |
|---|---|
1 | USD - US Dollar |
3 | EUR - Euro |
4 | GBP - Pound Sterling |
5 | CAD - Canadian Dollar |
6 | AUD - Australian Dollar |
7 | NZD - New Zealand Dollar |
8 | DKK - Danish Krone |
9 | SEK - Swedish Krona |
10 | NOK - Norwegian Krone |
Account-specific values
Do not guess these values. Copy them from:
https://factoring.ltvx.dev/api-docs/factoring-v1
| Request field | Portal value |
|---|---|
campaign_id | Campaign ID |
offers[].offer_id | Offer IDs |
tracking1 | Website 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.
Updated 28 days ago
Did this page help you?