---
title: "A checkout's order status; credits come from the payment event, never the redirect"
method: GET
path: "/billing/checkout-sessions/{checkoutId}"
tags: ["billing"]
---

# A checkout's order status; credits come from the payment event, never the redirect

`GET /billing/checkout-sessions/{checkoutId}`

## Request

- Base URL: `https://api.letsship.ai/v1`
- URL: `https://api.letsship.ai/v1/billing/checkout-sessions/{checkoutId}`
- Auth: none declared

## Path parameters

- `checkoutId` string, required

## Response `200`

Order status

- CheckoutSessionStatus
  - `checkoutId` string, required
  - `status` 'pending' | 'completed' | 'expired' | 'failed', required
  - `offer` 'credit_pack_10' | 'credit_pack_50' | 'credit_pack_100' | 'team' | 'team_credits', required
  - `credits` integer, required
  - `teamPlan` object, nullable, required
    - `plan` 'starter' | 'scale', required
    - `name` string, required

## Other responses

- `401`: Unauthenticated
- `404`: No such checkout for the caller

---

[API](https://skmtc.dev/letsship/apis/ship-api.md) · [All operations](https://skmtc.dev/letsship/apis/ship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsship/apis/ship-api/revisions/e6eac1bcadd4?raw)
