Checkout
Initiates the payment process, returns a URL which the user will be redirected
/v3/checkout
GET
https://apis.sandbox.flexshopper.com/v3/checkout
Headers
Authorization
string
Authorization token
Request Body
items.shipping.method
string
The item's shipping method.
items.shipping.date
string
The item's shipping date.
items.shipping.cost
number
The item's shipping cost.
customer
object
Customer Info Object
customer.firstName
string
Customer first name
customer.lastName
string
Customer Last Name
customer.email
string
Customer Email address
customer.phones.home
string
Customer home phone number
customer.phones.mobile
string
Customer mobile phone number
customer.address
object
Customer address Object
customer.address.street1
string
Main Street Address
customer.address.street2
string
Secondary Street address
customer.address.city
string
City
customer.address.region
string
Region or State
customer.address.postalCode
string
Zip Code
transactionId
string
The transaction ID provided at checkout.
items
array
A list of items to be added to the lease.
items.brand
string
The item's brand.
items.sku
string
The item's SKU (can be vendor-specific)
items.description
string
The item's description.
items.cost
number
The item's cost in dollars.
items.quantity
integer
The quantity of this item to add to the lease.
items.condition
string
Allowed values are: new, used and refurbished
items.productId
string
The item's product identifier.
items.images
array
Collection of product image URLs.
couponCode
string
Coupon code for discounts to be calculated into the lease.
Request Payload Example
Response Parameters
A successful request returns the HTTP 200 OK
status code and a JSON response body that shows the checkout response
Key
Type
Description
redirectUri
String
Url which the customer should be redirected to complete the payment process
Last updated