# Checkout Basket **POST /commerce/{accountId}/v2/checkouts** Creates a checkout session from a basket, leading to a payment intent based on the provided gateway. ## Servers - https://api.staging.deliverect.com: https://api.staging.deliverect.com () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **accountId** (string) ### Body: application/json (object) - **basket** (object) - **note** (string) - **payments** (array[object]) - **order** (object) ## Responses ### 200 200 #### Body: application/json (object) - **id** (string) - **created** (string) - **updated** (string) - **deleted** (boolean) - **etag** (string) - **accountId** (string) - **storeId** (string) - **status** (string) - **basket** (object) - **payments** (array[object]) - **order** (object) ### 422 422 #### Body: application/json (object) - **code** (string) - **message** (string) - **context** (object) [Powered by Bump.sh](https://bump.sh)