Front-end Order Creation
Checkout Session Create
Changed onPurpose:
Creates a session ID that is used to initiate the widget for a dedicated checkout session with a customer.
Preconditions:
- n/a
Success:
- Response Code: HTTP 200
- response body: id → session ID for the checkout session
Attention:
- The session has an expiry time of 48 hours.
post/checkout-sessions
Request
- Base URLhttps://paella-sandbox.billie.io/api/v2
- AuthOAuth 2PasswordToken URL/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Checkout session created.
Example response
{
"id": "12345667-890a-bcde-f123-34567890abcd"
}Changes
- info
endpoint added
- info