F
F
FlexShopper API Docs
3.1.0
Search…
⌃K

Checkout

Initiates the payment process, returns a URL which the user will be redirected
get
https://apis.sandbox.flexshopper.com
/v3/checkout
/v3/checkout

Request Payload Example

{
"transactionId": "5a6f7da94eb929002de90542",
"items": [
{
"description": "Macbook Pro 13",
"sku": "ABC123",
"productId": "58ac31fc2e074def0426b7cd",
"cost": 120.34,
"brand": "Apple",
"condition": "new",
"quantity": 1,
"images": [
"https://dummyimage.com/600x400/000/fff.png"
],
"shipping": {
"cost": 12.34,
"date": "2018-03-05",
"method": "ground"
}
}
],
"couponCode": "save",
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phones": {
"home": "1234567890",
"mobile": "1234567890"
},
"address": {
"street1": "2700 N Military Trail",
"street2": "Suite 200",
"city": "Boca Raton",
"region": "FL",
"postalCode": "33441"
}
}
}

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