Create and process a factoring decline order

Creates an order and immediately charges the supplied credit card.

Inspect response_code in the response body to determine whether the charge was successful or declined by the processor.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
enum
required

Billing connection assigned during onboarding. Always send 1 unless instructed otherwise.

Allowed:
integer
required
≥ 1

Campaign the order belongs to. Provided during onboarding.

integer
enum
required

Currency route identifier. Send the route that matches the order 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
string
enum
required

Charges the card immediately. Always send process.

Allowed:
offers
array of objects
required
length ≥ 1

Non-empty list of order offers.

offers*
string
required

Customer email address.

string

Customer phone number.

date

Customer date of birth in YYYY-MM-DD format.

string
length ≤ 32

Customer gender.

string
required
length ≤ 255

Shipping first name.

string
required
length ≤ 255

Shipping last name.

string
required
length ≤ 255

Shipping street address, line 1.

string
length ≤ 255

Shipping street address, line 2.

string
required
length ≤ 255

Shipping city.

string
length between 2 and 20

Shipping state or province. Required for US and CA addresses.

string
required
length between 3 and 15

Shipping postal code.

string
required
length between 2 and 2
^[A-Z]{2}$

Shipping country code in ISO 3166-1 alpha-2 format.

string
length ≤ 255

Shipping organization or company name.

boolean
required

Send true to reuse the shipping address as billing. If false, also send the bill_* fields.

string
length ≤ 255

Billing first name. Required when same_address is false.

string
length ≤ 255

Billing last name. Required when same_address is false.

string

Billing phone number.

string
length ≤ 255

Billing street address, line 1. Required when same_address is false.

string
length ≤ 255

Billing street address, line 2.

string
length ≤ 255

Billing city. Required when same_address is false.

string
length between 2 and 20

Billing state or province. Required for US and CA billing addresses when same_address is false.

string
length between 3 and 15

Billing postal code. Required when same_address is false.

string
length between 2 and 2
^[A-Z]{2}$

Billing country code in ISO 3166-1 alpha-2 format. Required when same_address is false.

string
length ≤ 255

Billing organization or company name.

integer
enum
required

Credit card payment method. Always send 1.

Allowed:
integer
enum
required

Card brand. 1 = Mastercard, 2 = Visa, 3 = Discover, 4 = Amex.

Allowed:
string
required
^[0-9]{15,16}$

Card number. Send 15 to 16 digits, Luhn-valid, without separators.

integer
required
1 to 12

Card expiration month.

integer
required
2026 to 9999

Four-digit card expiration year. Must not be in the past.

string
required
^[0-9]{3,4}$

Card CVV or security code.

uuid
required

Merchant user UUID in our system. Use the value shown in your account settings.

string
required
length ≤ 255
^[A-Za-z0-9_-]+$

Merchant clickID or order reference. Used to match postbacks.

string
required
length ≤ 64

Original upstream decline code.

string
required
length ≤ 1000

Original upstream decline reason or message.

string
enum
required

Product type marker for factoring decline. Always send 4.

Allowed:
string

Customer IP at the time of order. Must be a valid IPv4 or IPv6 address.

string
length ≤ 512

Customer browser user-agent.

string
length ≤ 64

Customer browser language setting.

string
length ≤ 64

Customer browser timezone.

string
length ≤ 32

Customer screen dimensions.

string
length ≤ 16

Customer screen color depth.

string
length ≤ 1024

Customer browser Accept header.

boolean

Whether Java is enabled in the customer browser.

boolean

Whether JavaScript is enabled in the customer browser.

string
length ≤ 128

Custom session identifier to associate with the order.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json