---
title: "支払いが済んだかを返す（get_checkout）"
method: GET
path: "/api/v1/billing/checkout-link/{sessionId}"
tags: ["billing"]
---

# 支払いが済んだかを返す（get_checkout）

`GET /api/v1/billing/checkout-link/{sessionId}`

## Request

- Base URL: `https://app.yukkurigen.com`
- URL: `https://app.yukkurigen.com/api/v1/billing/checkout-link/{sessionId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `sessionId` string, required

## Response `200`

状態。paid は入金が確定したという意味で、コンビニ・銀行振込などの後払いの決済は入金されるまで pending のまま（クレジットや権利も入金まで付かない）

- object
  - `status` 'paid' | 'pending' | 'expired'
  - `credits` number: 現在の残高
  - `planTier` string
  - `creditsAdded` integer, nullable
  - `reconciled` boolean: webhook を取りこぼしていて、この呼び出しで反映した場合に true
  - `nextStep` string

## Other responses

- `401`: 未認証（code: unauthenticated）
- `403`: 権限不足（credits:read）
- `404`: セッションが見つからない、他人のもの、または sessionId の形が違う（cs_live_… / cs_test_… でない）（code: not_found）
- `429`: 確認の回数の上限（1人あたり1分に30回）。retry-after を待ってから確認する（code: rate_limited）

## Changes

- **2026-10-20** `ba5f36b016da`: 20 warning, 12 info
  - added the new `already_subscribed` enum value to the `code` response property for the response status `401`
  - added the new `already_subscribed` enum value to the `code` response property for the response status `403`
  - added the new `already_subscribed` enum value to the `code` response property for the response status `404`
  - added the new `already_subscribed` enum value to the `code` response property for the response status `429`
  - …28 more

[Operation history](https://skmtc.dev/yukkurigen/apis/yukkurigen-ai-operated-api/changes/api/v1/billing/checkout-link/:sessionId/get.md)

---

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