Perform checkout

Perform payment for specified items in the checkout cart on behalf of the specified member. The endpoint will return list of purchased items. The checkout endpoint will reject any request that doesn't contain correct prices even when you're using memberships to pay.

NOTE: Currently the endpoint only supports buying sessions with membership payment method.

NOTE: You should call /prices endpoint to fetch correct prices for every item in the cart before calling this endpoint

NOTE: You should call /compatible-memberships endpoint to fetch list of bought memberships that are potentially compatible with the cart before calling this endpoint

ErrorDescription
err-no-payment-methodsrequest doesn't contain any payment methods
err-no-itemsrequest doesn't contain any items
err-too-many-itemsrequest contain more than 1 items
err-combined-payment-methodsrequest contains multiple payment method types in single request
err-cannot-pay-for-membership-with-membershiprequest is attempting to buy membership with membership
err-multiple-membership-typesrequest is combining different membership types in payment methods
err-multiple-subscriptionsrequest contains more than 1 subscription payment methods
err-saved-card-not-foundrequest contains invalid saved card payment method
err-cart-validation-failedgeneral error when validating cart
err-payment-failederror occurred during payment processing
err-duplicate-membership-payment-methodsrequest contains single bought membership multiple times
err-invalid-membership-payment-methodrequest contains invalid membership payment method
err-incompatible-membershiprequest contains membership that's incompatible with the checkout cart
err-unsupported-payment-methodsrequest contains invalid payment methods
err-session-has-invalid-staterequest contains session with status that prevent sale
err-session-has-passedrequest contains session that has already passed
err-session-sales-endedrequest contains session that has ended sales
err-session-dropins-not-allowedrequest contains session that does not allow dropins
err-session-is-fullrequest contains session that's full
err-session-purchase-limit-reachedrequest contains session that member has already booked and host doesn't allow that
err-session-access-restrictedrequest contains session that requires specific tag to book
err-duplicate-item-idsrequest contains single item id multiple times
err-duplicate-payment-method-idsrequest contains single payment method id multiple times
err-unsupported-item-typerequest contains unsupported item type
err-missing-customer-date-of-birthcustomer has no birthday information, but it's required
err-customer-age-prevents-from-actioncustomer is not eligible for the action due to age restriction
err-invalid-custom-payment-methodrequest contains invalid custom payment method id
Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here!