/orders/authorize

Sandbox (Testing): https://gateway.sand.us.zip.co/orders/authorize

Creates a new checkout context and redirects to the checkout website using details from the request body.

The same as the first /orders/authorize endpoint but data is passed as query string parameters with a GET request.

Query Params
string

Gets or sets the unique ID to use for order creation

string
required

Gets or sets the merchant Id

string
required

Gets or sets the unique merchant reference for this authorization.

string

Gets or sets the customer's first name

string

Gets or sets the customer's last name

string

Gets or sets the customer's email address

string

Gets or sets the customer's phone number

string

Gets or sets the first address line

string

Gets or sets the second address line

string

Gets or sets the city

string

Gets or sets the state or province

string

Gets or sets the postal code

string

Gets or sets the country

string

Gets or sets the first address line

string

Gets or sets the second address line

string

Gets or sets the city

string

Gets or sets the state or province

string

Gets or sets the postal code

string

Gets or sets the country

string

Gets or sets the currency the order amount is in (defaults to TerritorySettings)

double

Gets or sets the order amount. This includes the tax and shipping amounts.

double

Gets or sets the optional tax amount

double

Gets or sets the optional shipping amount

Order.LineItems
array of objects

Gets or sets the optional line items of what the user is purchasing

Order.LineItems
string

Gets or sets a description for the order

string

Gets or sets the QuadPay order number

boolean

Gets or sets a value indicating whether this is a test order

boolean

Gets or sets a value indicating whether this order should be immediately captured

string
required

Gets or sets the status callback url

string
required

Gets or sets the url that the user will be redirected to if they cancel the checkout

string
required

Gets or sets the url that the user will be redirected to after they have completed the checkout.

string

Gets or sets optional metadata attached to the checkout

string

Gets or sets the origin of the order. Usually the merchant's website. Can only be set internally

string

Gets or sets the gateway api host; can only be set internally

string

Gets or sets the type of the checkout; defaults to Standard; can only be set internally

boolean

Gets or sets a value indicating whether the checkout context should be set as a cookie

boolean

Gets or sets a value indicating whether or not to confirm the order upon customer checkout completion. If true, the merchant must make a secondary API call to confirm the order and begin the payment plan. Default is false.

string

Gets or sets the checkout flow for this order. Default is standard

string

Gets or sets the brand name of the merchant for this order

int32

Gets or sets a unix timestamp representing the expiration time of the checkout.

string

The signature for merchant validation

Headers
string
required

Territory of the request (US)

Response

Language
Response
Choose an example:
application/json