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

# Get Payment Methods

> Get all payment methods for this customer from your payment provider (such as Stripe)



## OpenAPI

````yaml https://api.getmeasure.com/api/v1/docs/api_spec.json get /companies/{company_id}/customers/{customer_id}/payment_methods
openapi: 3.1.0
info:
  title: Measure API
  description: APIs to communicate with Measure
  version: 1.0.0
servers:
  - url: https://api.getmeasure.com/api/v1
security: []
paths:
  /companies/{company_id}/customers/{customer_id}/payment_methods:
    get:
      tags:
        - Customers
      summary: Get Payment Methods
      description: >-
        Get all payment methods for this customer from your payment provider
        (such as Stripe)
      operationId: Get_Payment_Methods
      parameters:
        - name: company_id
          in: path
          description: 'The company ID with the prefix ''cmp_''. '
          required: true
          schema:
            description: 'The company ID with the prefix ''cmp_''. '
            type: string
        - name: customer_id
          in: path
          description: customer_id or identifier
          required: true
          schema:
            description: customer_id or identifier
            type: string
        - name: Idempotency-Key
          in: header
          description: >-
            The idempotency key that will be used to ensure the request is only
            performed once
          schema:
            description: >-
              The idempotency key that will be used to ensure the request is
              only performed once
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseAllPaymentMethodsResponse'
      deprecated: false
      security:
        - apiKey:
            - ''
components:
  schemas:
    ResponseAllPaymentMethodsResponse:
      properties:
        methods:
          items:
            $ref: '#/components/schemas/CommonPaymentMethod'
          type:
            - array
            - 'null'
      type: object
    CommonPaymentMethod:
      properties:
        billing_email:
          type: string
        brand:
          type: string
        country:
          type: string
        created_at:
          format: date-time
          type: string
        default:
          type: boolean
        exp_month:
          format: int64
          type: integer
        exp_year:
          format: int64
          type: integer
        helcim_payment_method_id:
          type: string
        id:
          type: string
        institution_number:
          type: string
        last_4:
          type: string
        mandate_id:
          type: string
        name:
          type: string
        payment_provider_key:
          type: string
        routing_number:
          type: string
        stripe_cash_balance:
          additionalProperties:
            format: int64
            type: integer
          type: object
        transit_number:
          type: string
        type:
          type: string
      type: object
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````