cURL
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>" }
Returns a unique URL for the Benny-hosted checkout session to complete an EBT order.
Request to create a new EBT checkout order session
Order created successfully
Response containing the created order details