---
title: "Finalize a checkout after payment confirmation"
method: GET
path: "/complete-checkout/{checkoutId}"
tags: ["Checkout"]
---

# Finalize a checkout after payment confirmation

`GET /complete-checkout/{checkoutId}`

## Request

- Base URL: `https://ps.shoppable.com`
- URL: `https://ps.shoppable.com/complete-checkout/{checkoutId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/shoppable/apis/shoppable-checkout-api/docs/complete-checkout/:checkoutId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `checkoutId` string, required

## Response `200`

Completed order

- Checkout
  - `_id` string, required
  - `state` string
  - `type` string
  - `email` string
  - `total` number
  - `coupons` object[]
  - `merchants` Merchant[]
    - `merchantId` string
    - `name` string
    - `logo` string
    - `freeShippingThreshold` number
    - `shippingCost` number
    - `minimumOrderAmount` number

## Other responses

- `401`: Session token expired or invalid

---

[API](https://skmtc.dev/shoppable/apis/shoppable-checkout-api.md) - [All operations](https://skmtc.dev/shoppable/apis/shoppable-checkout-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoppable/apis/shoppable-checkout-api/revisions/c9c13c2a993d?raw)
