> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# チェックアウト結果を取得

> Webサイトの成功ページまたはキャンセルページ向けに、軽量なチェックアウト結果ペイロードを返します。

<script src="/locale-bridge.js" />


## OpenAPI

````yaml /openapi.ja.json GET /v1/public/accounts/{account_id}/billing/checkout/result
openapi: 3.1.0
info:
  title: Code API (Public)
  version: 1.0.0
servers:
  - url: https://api.hybridbox.io
security: []
paths:
  /v1/public/accounts/{account_id}/billing/checkout/result:
    get:
      tags:
        - public-accounts
      summary: チェックアウト結果を取得
      description: Webサイトの成功ページまたはキャンセルページ向けに、軽量なチェックアウト結果ペイロードを返します。
      operationId: >-
        get_checkout_result_v1_public_accounts__account_id__billing_checkout_result_get
      parameters:
        - in: path
          name: account_id
          required: true
          schema:
            format: uuid
            title: Account Id
            type: string
        - in: query
          name: plan_key
          required: true
          schema:
            title: Plan Key
            type: string
        - in: query
          name: checkout_token
          required: true
          schema:
            title: Checkout Token
            type: string
        - in: query
          name: hosted_page_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Hosted Page Id
        - in: query
          name: status_hint
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Status Hint
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutResultResponse'
          description: ''
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: 検証エラー
components:
  schemas:
    CheckoutResultResponse:
      properties:
        account:
          $ref: '#/components/schemas/AccountSummaryResponse'
          description: チェックアウトアカウントの概要
        auth_required_for_dashboard:
          anyOf:
            - type: boolean
            - type: 'null'
          description: ダッシュボードへのアクセスに認証が必要かどうか
          title: ダッシュボードに認証が必要
        checkout_token:
          description: チェックアウト継続トークン
          title: チェックアウトトークン
          type: string
        dashboard_url:
          anyOf:
            - type: string
            - type: 'null'
          description: アカウントのダッシュボード URL
          title: ダッシュボードURL
        message:
          description: チェックアウト結果メッセージ
          title: メッセージ
          type: string
        plan_key:
          description: 選択した料金プランキー
          enum:
            - smtp_per_mailbox
            - smtp_per_proxy
          title: プランキー
          type: string
        status:
          description: チェックアウト結果ステータス
          title: ステータス
          type: string
      required:
        - plan_key
        - status
        - message
        - account
        - checkout_token
      title: CheckoutResultレスポンス
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: 詳細
          type: array
      title: HTTPValidationエラー
      type: object
    AccountSummaryResponse:
      description: Webサイトに返される安全なアカウントサマリー。
      properties:
        account_id:
          description: アカウントUUID
          title: アカウントID
          type: string
        chargebee_subscription_status:
          anyOf:
            - type: string
            - type: 'null'
          description: Chargebee サブスクリプション ステータス
          title: Chargebeeサブスクリプションステータス
        currency:
          description: 請求通貨コード
          title: 通貨
          type: string
      required:
        - account_id
        - currency
      title: アカウントSummaryレスポンス
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: 場所
          type: array
        msg:
          title: メッセージ
          type: string
        type:
          title: エラータイプ
          type: string
      required:
        - loc
        - msg
        - type
      title: Validationエラー
      type: object

````