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

# Check checkout status

> Poll after starting a /v1/subscribe checkout. Once payment completes, returns the minted API key and clientId. (The /v1/credits route prefix is historical; this endpoint retrieves the subscription key, not a credit balance.)



## OpenAPI

````yaml /openapi/spec.json get /v1/credits/status
openapi: 3.0.0
info:
  title: VidJutsu API
  version: 2026-05-24-2
servers:
  - url: https://api.vidjutsu.ai
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Assets
  - name: Editor Projects
  - name: Scrape
  - name: Billing
  - name: API Keys
  - name: Usage
  - name: Info
  - name: Pricing
  - name: Subscriptions
  - name: Auth
  - name: Accounts
  - name: Posts
  - name: References
  - name: Upload
  - name: Watch
  - name: Extract
  - name: Transcribe
  - name: Check
  - name: Compliance
  - name: Overlay
  - name: Disclaimer
  - name: Agent
paths:
  /v1/credits/status:
    get:
      tags:
        - Billing
      summary: Check checkout status
      description: >-
        Poll after starting a /v1/subscribe checkout. Once payment completes,
        returns the minted API key and clientId. (The /v1/credits route prefix
        is historical; this endpoint retrieves the subscription key, not a
        credit balance.)
      operationId: getCheckoutStatus
      parameters:
        - name: session
          in: query
          required: true
          schema:
            type: string
          explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyStatusResponse'
components:
  schemas:
    ApiKeyStatusResponse:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          enum:
            - pending
            - completed
        apiKey:
          type: string
        clientId:
          type: string
        isNew:
          type: boolean
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````