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

# List checkout fields

> The custom fields on the store checkout form. To fill them when creating an order, pass each `id` as `answers[].question_id` on POST /orders.



## OpenAPI

````yaml openapi-v2 GET /api/v2/checkout_questions
openapi: 3.1.0
info:
  title: Take App Merchant API V2
  version: 2.0.0
  description: >-
    Authenticated Merchant API for stores. All money values are integers in the
    smallest currency unit (e.g. cents).
servers:
  - url: https://take.app
security:
  - bearerAuth: []
paths:
  /api/v2/checkout_questions:
    get:
      tags:
        - Orders
      summary: List checkout fields
      description: >-
        The custom fields on the store checkout form. To fill them when creating
        an order, pass each `id` as `answers[].question_id` on POST /orders.
      operationId: listCheckoutQuestions
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          required: false
          name: limit
          in: query
        - schema:
            type: string
          required: false
          name: cursor
          in: query
      responses:
        '200':
          description: List of checkout fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutQuestionList'
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CheckoutQuestionList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/CheckoutQuestion'
        has_more:
          type: boolean
        next_cursor:
          type:
            - string
            - 'null'
      required:
        - object
        - data
        - has_more
        - next_cursor
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - not_found_error
                - rate_limit_error
                - api_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - request_id
      required:
        - error
    CheckoutQuestion:
      type: object
      properties:
        id:
          type: string
          description: Pass as `answers[].question_id` when creating an order.
        object:
          type: string
          enum:
            - checkout_question
        type:
          type: string
          enum:
            - QUESTION_TEXT
            - QUESTION_DATE
            - QUESTION_TIME
            - QUESTION_NOTE
            - QUESTION_IMAGE
            - QUESTION_UPLOAD
            - QUESTION_LOCATION
            - QUESTION_SELECTION
            - QUESTION_CHECKBOX
            - QUESTION_SERVICE
        text:
          type: string
        description:
          type:
            - string
            - 'null'
        required:
          type: boolean
        visible:
          type: boolean
          description: >-
            The raw admin visibility setting. Actual checkout visibility also
            depends on field type, available choices, plan, and service.
        service_id:
          type:
            - string
            - 'null'
          description: >-
            Set when the field is only asked for one service, such as delivery.
            `null` for every order.
        options:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Pass in `answers[].option_ids` when creating an order.
              text:
                type: string
              price:
                type: integer
                description: >-
                  Integer amount in the smallest unit of the store currency
                  (e.g. cents).
            required:
              - id
              - text
              - price
          description: >-
            Choices for `QUESTION_SELECTION` and `QUESTION_CHECKBOX`. Empty for
            other types.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - object
        - type
        - text
        - description
        - required
        - visible
        - service_id
        - options
        - created_at
        - updated_at
      description: A custom field on the store checkout form.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Merchant API V2 token. Pass as `Authorization: Bearer <token>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.