---
title: "Check a pay link"
method: GET
path: "/v1/checkout/{checkout_id}"
tags: ["Account"]
---

# Check a pay link

`GET /v1/checkout/{checkout_id}`

## Request

- Base URL: `https://whipscribe.com/api`
- URL: `https://whipscribe.com/api/v1/checkout/{checkout_id}`
- Auth: API key in header `X-API-Key`

Status of a pay link this account asked for: `pending`, `paid` or `expired`. Poll every few seconds while a person is paying; `paid` means the credit is on the account.

## Path parameters

- `checkout_id` string, required

## Response `200`

The link and its status.

- Checkout
  - `id` string: Checkout id; pass it to `GET /v1/checkout/{checkout_id}`.
  - `status` 'pending' | 'paid' | 'expired': `pending` until the payment has been credited to the account, then `paid`. `expired` after 48 hours unpaid; ask for a new link.
  - `checkout_url` string, nullable: Card checkout page for this account. Give it to the person who pays; whoever pays, the credit lands on the account that asked for the link. `null` once the link is paid or expired.
  - `sku` string
  - `amount_usd` number: List price in US dollars. Checkout may show the buyer's local currency and tax.
  - `minutes` integer: Transcription minutes the purchase adds (0 for the Workspace plan).
  - `expires_at` number: Unix time after which the link stops working.

## Other responses

- `401`: Missing or invalid API key, or the job needs an ownership proof (`X-Claim-Token`).
- `404`: No such pay link on this account (`NOT_FOUND`).
- `429`: Too many requests; retry with backoff (`RATE_LIMITED`, `QUOTA_EXCEEDED`).
- `503`: Checkout is not available right now; retry shortly (`CHECKOUT_UNAVAILABLE`).

---

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