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

# List all setup requests



## OpenAPI

````yaml /products/commerce/v1/openapi.yaml get /customers/{customer_id}/setups
openapi: 3.1.0
info:
  license:
    name: Hellgate® API License
    url: https://starfish.team
  title: Commerce
  version: '0.1'
servers:
  - url: https://commerce1.on-hellgate.dev
    variables: {}
security:
  - mtls: []
  - api_key: []
tags: []
paths:
  /customers/{customer_id}/setups:
    get:
      tags:
        - payment_method_setups
      summary: List all setup requests
      operationId: CommerceWeb.Customers.PaymentMethodSetupController.index
      parameters:
        - description: >-
            Identifies the account. Required when authenticating via mTLS — omit
            when using an API key (account is inferred from the key).
          in: header
          name: X-Account-ID
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Customer ID
          in: path
          name: customer_id
          required: true
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Page cursor for pagination
          in: query
          name: page
          required: false
          schema:
            type: integer
            x-struct: null
            x-validate: null
        - description: Maximum items per page
          in: query
          name: limit
          required: false
          schema:
            type: integer
            x-struct: null
            x-validate: null
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodSetupsPaginatedResponse'
          description: Success
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Error
      callbacks: {}
components:
  schemas:
    PaymentMethodSetupsPaginatedResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PaymentMethodSetupResponse'
          type: array
          x-struct: null
          x-validate: null
        pagination:
          $ref: '#/components/schemas/PaginationSchema'
      title: PaymentMethodSetupsPaginatedResponse
      type: object
      x-struct: >-
        Elixir.CommerceWeb.Schemas.PaymentMethodsSchema.PaymentMethodSetupsPaginatedResponse
      x-validate: null
    ErrorResponse:
      properties:
        classifier:
          type: string
          x-struct: null
          x-validate: null
        code:
          type: integer
          x-struct: null
          x-validate: null
        message:
          type: string
          x-struct: null
          x-validate: null
      required:
        - code
        - classifier
        - message
      title: ErrorResponse
      type: object
      x-struct: Elixir.CommerceWeb.Schemas.ErrorsSchema.ErrorResponse
      x-validate: null
    PaymentMethodSetupResponse:
      properties:
        created_at:
          format: date-time
          type: string
          x-struct: null
          x-validate: null
        data:
          type: object
          x-struct: null
          x-validate: null
        external_id:
          type: string
          x-struct: null
          x-validate: null
        failure_details:
          items:
            $ref: '#/components/schemas/FailureDetailResponse'
          type: array
          x-struct: null
          x-validate: null
        id:
          format: uuid
          type: string
          x-struct: null
          x-validate: null
        payment_method:
          properties:
            token:
              type: string
              x-struct: null
              x-validate: null
          type: object
          x-struct: null
          x-validate: null
        status:
          enum:
            - IN_PROGRESS
            - SUCCESS
            - FAILURE
          type: string
          x-struct: null
          x-validate: null
        type:
          enum:
            - CARD
            - SEPA_MANDATE
            - ACH_MANDATE
          type: string
          x-struct: null
          x-validate: null
        updated_at:
          format: date-time
          type: string
          x-struct: null
          x-validate: null
      required:
        - id
        - type
        - status
        - created_at
        - updated_at
      title: PaymentMethodSetupResponse
      type: object
      x-struct: >-
        Elixir.CommerceWeb.Schemas.PaymentMethodsSchema.PaymentMethodSetupResponse
      x-validate: null
    PaginationSchema:
      properties:
        current_page:
          type: integer
          x-struct: null
          x-validate: null
        next_page:
          type: integer
          x-struct: null
          x-validate: null
        page_size:
          type: integer
          x-struct: null
          x-validate: null
        previous_page:
          type: integer
          x-struct: null
          x-validate: null
        total_items:
          type: integer
          x-struct: null
          x-validate: null
        total_pages:
          type: integer
          x-struct: null
          x-validate: null
      title: PaginationSchema
      type: object
      x-struct: Elixir.CommerceWeb.Schemas.PaginationSchema
      x-validate: null
    FailureDetailResponse:
      properties:
        classifier:
          type: string
          x-struct: null
          x-validate: null
        message:
          type: string
          x-struct: null
          x-validate: null
      title: FailureDetailResponse
      type: object
      x-struct: Elixir.CommerceWeb.Schemas.PaymentMethodsSchema.FailureDetailResponse
      x-validate: null
  securitySchemes:
    mtls:
      description: >-
        Client certificate authentication via mTLS. Account-scoped routes
        additionally require the X-Account-ID header to identify the account.
      type: mutualTLS
    api_key:
      in: header
      name: X-API-Key
      type: apiKey

````