POST

Generate Checkout Session


Creates a Wix-hosted checkout session for the supplied line items and returns its redirect URL and session ID.

Each call creates a new, independent session. The method isn't idempotent, so a retry produces an additional session rather than recovering the prior one.

Permissions
Generate checkout sessions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/payments/platform/v1/checkout-sessions/generate

Errors
400Invalid Argument

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?