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

# Retrieve a payment method



## OpenAPI

````yaml https://api.withacclaim.com/openapi.yaml get /payers/{payer_id}/payment_methods/{payment_method_id}
openapi: 3.1.0
info:
  title: Acclaim API
  version: 1.0.0
  description: >
    Payments infrastructure built for the insurance industry. This specification
    describes

    the core resources and operations for treasury accounts, payouts, funding,
    and more.


    Authentication uses a secret API key passed as a Bearer token. The API is
    JSON-only

    and available via HTTPS only.
servers:
  - url: https://api.withacclaim.com/v1
security:
  - bearerAuth: []
tags:
  - name: Treasury / Treasury Accounts
    description: Manage treasury accounts and balances.
  - name: Payees
    description: Manage recipients of payouts.
  - name: Payout Methods
    description: Manage payout methods (e.g. bank accounts) for a payee.
  - name: Payouts
    description: Create and track individual payouts.
  - name: Payout Batches
    description: Create and track groups of payouts.
  - name: Treasury / Funding
    description: Move funds between settlement accounts and treasury accounts.
  - name: Payment Requests
    description: Create and manage payment requests for collecting payments.
  - name: Setup Requests
    description: Create and manage setup requests for securely storing payment methods.
  - name: Refunds
    description: Create and manage refunds for payments.
  - name: Payers
    description: Create and manage payers for payment collection.
  - name: Payment Methods
    description: Manage payment methods (e.g. cards, bank accounts) for a payer.
paths:
  /payers/{payer_id}/payment_methods/{payment_method_id}:
    get:
      tags:
        - Payment Methods
      summary: Retrieve a payment method
      parameters:
        - $ref: '#/components/parameters/PayerId'
        - $ref: '#/components/parameters/PaymentMethodId'
      responses:
        '200':
          description: The payment method.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethod'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  parameters:
    PayerId:
      name: payer_id
      in: path
      required: true
      schema:
        type: string
      description: ID of the payer.
    PaymentMethodId:
      name: payment_method_id
      in: path
      required: true
      schema:
        type: string
      description: ID of the payment method.
  schemas:
    PaymentMethod:
      type: object
      properties:
        id:
          type: string
          example: pm_AbC123XyZ
        type:
          type: string
          enum:
            - Card
            - AchDebit
            - SepaDebit
            - WireTransfer
            - PaperCheck
            - Cash
            - Paypal
            - ApplePay
            - GooglePay
            - Venmo
            - Zelle
          example: Card
          description: Type of payment method
        active:
          type: boolean
          example: true
          description: Whether the payment method is active
        default:
          type: boolean
          example: false
          description: Whether this is the default payment method for the payer
        card:
          allOf:
            - $ref: '#/components/schemas/CardPaymentMethodDetails'
          nullable: true
          description: Card details (present when type is Card)
        ach_debit:
          allOf:
            - $ref: '#/components/schemas/AchPaymentMethodDetails'
          nullable: true
          description: ACH bank account details (present when type is AchDebit)
        sepa_debit:
          allOf:
            - $ref: '#/components/schemas/SepaPaymentMethodDetails'
          nullable: true
          description: SEPA bank account details (present when type is SepaDebit)
        paypal:
          allOf:
            - $ref: '#/components/schemas/PayPalPaymentMethodDetails'
          nullable: true
          description: PayPal account details (present when type is Paypal)
        created_at:
          type: string
          format: date-time
          example: '2025-10-08T18:20:31Z'
        updated_at:
          type: string
          format: date-time
          example: '2025-10-08T18:25:00Z'
    CardPaymentMethodDetails:
      type: object
      properties:
        brand:
          type: string
          nullable: true
          enum:
            - Visa
            - Mastercard
            - Amex
            - Discover
            - DinersClub
            - Jcb
            - UnionPay
            - Maestro
            - Unknown
          example: Visa
          description: Card brand
        last4:
          type: string
          nullable: true
          example: '4242'
          description: Last four digits of the card number
        expiry_month:
          type: string
          nullable: true
          example: '09'
          description: Card expiry month (MM)
        expiry_year:
          type: string
          nullable: true
          example: '2026'
          description: Card expiry year (YYYY)
        funding:
          type: string
          nullable: true
          enum:
            - Credit
            - Debit
            - Prepaid
            - DeferredDebit
            - Charge
            - Unknown
          example: Credit
          description: Card funding type
        cardholder_name:
          type: string
          nullable: true
          example: John Doe
          description: Cardholder name
        country:
          type: string
          nullable: true
          example: US
          description: Card issuing country (ISO 3166-1 alpha-2)
        currency:
          type: string
          nullable: true
          example: USD
          description: Card currency (ISO 4217)
        fingerprint:
          type: string
          nullable: true
          description: Unique fingerprint for the card
        created_at:
          type: string
          format: date-time
          example: '2025-10-08T18:20:31Z'
        updated_at:
          type: string
          format: date-time
          example: '2025-10-08T18:25:00Z'
    AchPaymentMethodDetails:
      type: object
      properties:
        account_number:
          type: string
          nullable: true
          description: Bank account number (may be masked)
        routing_number:
          type: string
          nullable: true
          description: Bank routing number
        country:
          type: string
          nullable: true
          example: US
          description: Country (ISO 3166-1 alpha-2)
        currency:
          type: string
          nullable: true
          example: USD
          description: Currency (ISO 4217)
        created_at:
          type: string
          format: date-time
          example: '2025-10-08T18:20:31Z'
        updated_at:
          type: string
          format: date-time
          example: '2025-10-08T18:25:00Z'
    SepaPaymentMethodDetails:
      type: object
      properties:
        iban:
          type: string
          nullable: true
          description: International Bank Account Number
        country:
          type: string
          nullable: true
          example: DE
          description: Country (ISO 3166-1 alpha-2)
        currency:
          type: string
          nullable: true
          example: EUR
          description: Currency (ISO 4217)
        created_at:
          type: string
          format: date-time
          example: '2025-10-08T18:20:31Z'
        updated_at:
          type: string
          format: date-time
          example: '2025-10-08T18:25:00Z'
    PayPalPaymentMethodDetails:
      type: object
      properties:
        email:
          type: string
          format: email
          nullable: true
          description: PayPal account email address
        payer_id:
          type: string
          nullable: true
          description: PayPal payer ID
        created_at:
          type: string
          format: date-time
          example: '2025-10-08T18:20:31Z'
        updated_at:
          type: string
          format: date-time
          example: '2025-10-08T18:25:00Z'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: invalid_request
            message:
              type: string
              example: 'Missing required field: amount'
            details:
              type: object
              additionalProperties: true
            request_id:
              type: string
              example: req_7lYt4o2x
  responses:
    ErrorResponse:
      description: Error payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````