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

# List checkout links

> Returns a list of checkout links for the current account



## OpenAPI

````yaml /developer/api-reference/openapi.json get /checkout_links
openapi: 3.1.1
info:
  title: Crevio API V1
  version: 1.0.0
  description: >
    API for the Crevio creator platform — a multi-tenant SaaS for digital
    product sales.

    Uses snake_case keys following Stripe conventions. All resource IDs are
    string IDs (e.g., "prod_abc123").
  contact:
    email: support@crevio.co
    name: Crevio Support
    url: https://docs.crevio.co
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.crevio.co/v1
    description: Production
security:
  - ApiKey: []
tags:
  - name: Account
    description: Current account information
  - name: BlogCategories
    description: Blog post categories
  - name: BlogPosts
    description: Blog content management
  - name: Carts
    description: Shopping cart management
  - name: CheckoutLinks
    description: Shareable checkout links
  - name: Checkouts
    description: Checkout session management
  - name: Customers
    description: Customer relationship management
  - name: Discounts
    description: Discount code management
  - name: Emails
    description: Email sending
  - name: Experiences
    description: Digital experiences (courses, communities, downloads)
  - name: Files
    description: File uploads and external media management
  - name: FormSubmissions
    description: Form submission management
  - name: Forms
  - name: Invoices
    description: Invoice creation, payment, and lifecycle management
  - name: LegalPages
  - name: Me
    description: Current user profile
  - name: OrderItems
    description: Order line items
  - name: Orders
    description: Order history and details
  - name: PriceVariants
    description: Product pricing tiers
  - name: Products
    description: Digital product catalog
  - name: Refunds
    description: Refund management
  - name: Reviews
    description: Product reviews
  - name: Subscriptions
    description: Subscription lifecycle management (cancel, pause, resume)
  - name: Tags
    description: Customer tags
  - name: TaskRuns
    description: Individual execution records for AI tasks.
  - name: Tasks
    description: >-
      AI tasks — scheduled or event-triggered agentic work (cron, interval,
      once, immediate, event).
  - name: WebhookEndpoints
    description: Webhook endpoint management
  - name: WebhookEvents
    description: Webhook event delivery history
  - name: X402Configuration
    description: x402 payment protocol configuration
paths:
  /checkout_links:
    get:
      tags:
        - CheckoutLinks
      summary: List checkout links
      description: Returns a list of checkout links for the current account
      operationId: listCheckoutLinks
      parameters:
        - name: expand
          in: query
          description: 'Comma-separated relations to expand: discount, price_variants'
          schema:
            type: string
        - $ref: '#/components/parameters/StartingAfter'
        - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          description: List of checkout links
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse_CheckoutLink'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - ApiKey: []
      x-codeSamples:
        - lang: typescript
          label: Typescript (SDK)
          source: |-
            import { Crevio } from "@crevio/sdk";

            const crevio = new Crevio({
              apiKey: process.env["CREVIO_API_KEY"] ?? "",
            });

            async function run() {
              const result = await crevio.checkoutLinks.list({});

              console.log(result);
            }

            run();
components:
  parameters:
    StartingAfter:
      name: starting_after
      in: query
      description: Cursor for pagination — the ID of the last item in the previous page
      schema:
        type: string
    Limit:
      name: limit
      in: query
      description: Items per page
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
  schemas:
    ListResponse_CheckoutLink:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/CheckoutLink'
        has_more:
          type: boolean
        url:
          type: string
      required:
        - object
        - data
        - has_more
        - url
    CheckoutLink:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        name:
          type:
            - string
            - 'null'
        success_url:
          type:
            - string
            - 'null'
        allow_discount_codes:
          type: boolean
        metadata:
          type:
            - object
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        url:
          type: string
        discount:
          oneOf:
            - type: string
            - $ref: '#/components/schemas/Discount'
            - type: 'null'
          description: ID by default, full object when expanded
        price_variants:
          type: array
          items:
            $ref: '#/components/schemas/PriceVariant'
      required:
        - id
        - object
        - name
        - success_url
        - allow_discount_codes
        - metadata
        - created_at
        - updated_at
        - url
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - api_error
                - invalid_request_error
                - validation_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
            errors:
              type: object
          required:
            - type
            - message
      required:
        - error
    Discount:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        status:
          type: string
          enum:
            - active
            - inactive
        discount_type:
          type: string
          enum:
            - percentage
            - fixed
        code:
          type: string
        amount_off:
          type:
            - integer
            - 'null'
        duration:
          type: string
          enum:
            - forever
            - once
            - repeating
        duration_in_months:
          type:
            - integer
            - 'null'
        max_redemptions:
          type:
            - integer
            - 'null'
        times_redeemed:
          type: integer
        redeem_by:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        percent_off:
          type:
            - number
            - 'null'
          format: double
        currency:
          type:
            - string
            - 'null'
      required:
        - id
        - object
        - status
        - discount_type
        - code
        - amount_off
        - duration
        - duration_in_months
        - max_redemptions
        - times_redeemed
        - redeem_by
        - created_at
        - updated_at
        - percent_off
        - currency
    PriceVariant:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        name:
          type: string
        amount:
          type:
            - integer
            - 'null'
        amount_type:
          type: string
          enum:
            - free
            - fixed
            - custom
        billing_type:
          type: string
          enum:
            - subscription
            - one_time
            - payment_plan
        recurring_interval:
          type:
            - string
            - 'null'
          enum:
            - day
            - week
            - month
            - year
            - null
        interval_count:
          type: integer
        installment_count:
          type:
            - integer
            - 'null'
        setup_fee_amount:
          type:
            - integer
            - 'null'
        trial_period_days:
          type:
            - integer
            - 'null'
        revoke_after_days:
          type:
            - integer
            - 'null'
        quantity_available:
          type:
            - integer
            - 'null'
        archived:
          type:
            - boolean
            - 'null'
        position:
          type: integer
        hidden:
          type:
            - boolean
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        currency:
          type:
            - string
            - 'null'
        discounted_from_amount:
          type:
            - integer
            - 'null'
        minimum_amount:
          type:
            - integer
            - 'null'
        maximum_amount:
          type:
            - integer
            - 'null'
        preset_amount:
          type:
            - integer
            - 'null'
        waitlist:
          type: boolean
        benefits:
          type: array
          items:
            type: string
        purchase_url:
          type: string
        product:
          type: string
      required:
        - id
        - object
        - name
        - amount
        - amount_type
        - billing_type
        - recurring_interval
        - interval_count
        - installment_count
        - setup_fee_amount
        - trial_period_days
        - revoke_after_days
        - quantity_available
        - archived
        - position
        - hidden
        - created_at
        - updated_at
        - currency
        - discounted_from_amount
        - minimum_amount
        - maximum_amount
        - preset_amount
        - waitlist
        - purchase_url
        - product
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: invalid_request_error
              code: bad_request
              message: The request was malformed or contained invalid parameters
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: invalid_request_error
              code: authentication_required
              message: You did not provide an API key.
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: invalid_request_error
              code: forbidden
              message: You do not have permission to perform this action
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: api_error
              code: internal_error
              message: An unexpected error occurred
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: 'API key in the format: Bearer {api_token}'

````