POST
/
v1
/
order
/
session
Create order session
curl --request POST \
  --url https://ebt-sandbox.bennyapi.com/v1/order/session \
  --header 'Content-Type: application/json' \
  --data '{
  "externalCustomerId": "<string>",
  "externalOrderId": "<string>",
  "onSuccessRedirectUrl": "<string>",
  "onExitRedirectUrl": "<string>",
  "items": [
    {
      "description": "<string>",
      "id": "<string>",
      "paddedPrice": 123,
      "photoUrl": "<string>",
      "price": 123,
      "quantity": 123,
      "snapEligible": true,
      "taxRate": 123,
      "unit": "COUNT"
    }
  ]
}'
{
  "sessionUrl": "<string>"
}

Body

application/json

Request to create a new EBT checkout order session

Response

200
application/json

Order created successfully

Response containing the created order details