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

# Get Payment Method information

> Get information about User's payment methods



## OpenAPI

````yaml /api_reference/onramp.yaml get /payment-methods
openapi: 3.0.3
info:
  version: '1.0'
  title: Crypto API
  description: Reference for Sardine Crypto API
  contact:
    email: support@sardine.io
    name: Sardine
    url: docs.sardine.io
servers:
  - url: https://api.sandbox.sardine.ai/v1
    description: Sandbox
  - url: https://api.sardine.ai/v1
    description: Prod Server
security: []
paths:
  /payment-methods:
    get:
      tags:
        - Payment Method
      summary: Get Payment Method information
      description: Get information about User's payment methods
      operationId: get-user-payment_method
      parameters:
        - name: userId
          in: query
          description: ID of User
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  payment_method_type:
                    type: string
                  payment_method:
                    $ref: '#/components/schemas/BankAccount'
      security: []
      servers:
        - url: https://api.sandbox.sardine.ai/v1
          description: Sandbox
        - url: https://api.sardine.ai/v1
          description: Prod Server
components:
  schemas:
    BankAccount:
      type: object
      title: Bank Account
      properties:
        bankAccountId:
          type: string
          description: Unique identifier for the given user.
          format: uuid
        accountNumber:
          type: string
          description: |
            Bank account number
        name:
          type: string
          description: User set name of account
          format: email
        officialName:
          type: string
          description: Bank designated name of account
          format: date
        routingNumber:
          type: string
          description: The date that the user was created.
          format: date
        subtype:
          type: string
          description: Subtype of account
        type:
          type: string
          description: Type of account, checking, saving etc
        wireRoutingNUmber:
          type: string
          description: Routing number for bank account
        institutionName:
          type: string
          description: Name of the bank at which the account is open
        status:
          type: string
          enum:
            - connected
            - disconnected
      x-stoplight:
        id: 5n26ty6etq5zy

````