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

# List Payment Methods

> List payment-method config for the current merchant.

Always returns 3 rows: one per supported method. Methods that the
merchant hasn't configured yet appear as `enabled=false, config={}`
placeholders so the dashboard can render a "Set up" state.



## OpenAPI

````yaml /api-reference/openapi.json get /api/dashboard/payment-methods
openapi: 3.1.0
info:
  title: Agentic Commerce API
  description: |2-

        Agentic Commerce API - E-commerce Backend

        ## APIs

        ### Dashboard API (`/api/dashboard`)
        Authenticated endpoints for merchant management:
        - Products, Variants, Options
        - Inventory management
        - Orders and fulfillment
        - Customers
        - Collections

        ### Storefront API (`/api/storefront`)
        Public endpoints for client websites:
        - Product catalog
        - Collections
        - Cart management
        - Checkout

        ### Sync API (`/api/sync`)
        Integration endpoints for zunkiree-search:
        - Product sync
        - Availability checks
        - Order creation from AI widget
        
  version: 1.0.0
servers: []
security: []
paths:
  /api/dashboard/payment-methods:
    get:
      tags:
        - Dashboard
        - Payment Methods
      summary: List Payment Methods
      description: |-
        List payment-method config for the current merchant.

        Always returns 3 rows: one per supported method. Methods that the
        merchant hasn't configured yet appear as `enabled=false, config={}`
        placeholders so the dashboard can render a "Set up" state.
      operationId: list_payment_methods_api_dashboard_payment_methods_get
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
        - name: X-Stella-Merchant-Id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Stella-Merchant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodConfigListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PaymentMethodConfigListResponse:
      properties:
        methods:
          items:
            $ref: '#/components/schemas/PaymentMethodConfigResponse'
          type: array
          title: Methods
      type: object
      required:
        - methods
      title: PaymentMethodConfigListResponse
      description: |-
        Top-level dashboard GET response. Always returns 3 rows:
        one per supported method. Missing rows are synthesised as
        `enabled=false, config={}` placeholders so the UI can render a
        "Set up" state without distinguishing 'never configured' from
        'configured but disabled'.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PaymentMethodConfigResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        merchant_id:
          type: string
          format: uuid
          title: Merchant Id
        method:
          type: string
          enum:
            - stripe
            - cod
            - bank_transfer
          title: Method
        enabled:
          type: boolean
          title: Enabled
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        display_order:
          type: integer
          title: Display Order
        config:
          additionalProperties: true
          type: object
          title: Config
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - merchant_id
        - method
        - enabled
        - display_order
        - config
        - created_at
        - updated_at
      title: PaymentMethodConfigResponse
      description: Single config row in dashboard responses.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````