{"data": {"id": "44222abc17c76611009a0665","redirectUri": "https://pay.flexshopper.com/?id=example-id"}}
{"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": "johndoe@flexshopper.com","phones": {"home": "1234567890","mobile": "1234567890"},"address": {"street1": "2700 N Military Trail","street2": "Suite 200","city": "Boca Raton","region": "FL","postalCode": "33441"}}}
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 |