> ## 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.

# Add new Bank Account using aggregator token

> Add new Bank Account to User. 
Currently, this can be done in one of two ways

1. Using a processor token from bank aggregator service like Plaid
2. Sending information about the user's bank account collected through a Plaid like service



## OpenAPI

````yaml /api_reference/nft.yaml post /payment-method/ach
openapi: 3.1.0
info:
  version: '1.0'
  title: NFT API
  summary: API to enable direct NFT purchasing
  description: Reference for Sardine Crypto API
servers:
  - url: https://api.sandbox.sardine.ai/v1
    description: Sandbox
  - url: https://api.sardine.ai/v1
    description: Prod Server
security:
  - {}
paths:
  /payment-method/ach:
    post:
      tags:
        - Payment Method
      summary: Add new Bank Account using aggregator token
      description: >-
        Add new Bank Account to User. 

        Currently, this can be done in one of two ways


        1. Using a processor token from bank aggregator service like Plaid

        2. Sending information about the user's bank account collected through a
        Plaid like service
      operationId: post-payment_method-bank-bank_account_id
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                processor_token:
                  type: string
                bank_aggregator:
                  type: string
                  enum:
                    - plaid
                    - yodlee
                    - finicity
                aggregator_data:
                  type: object
                  properties:
                    auth_response:
                      type: string
                    balance_response:
                      type: string
                    identity_response:
                      type: string
                    transaction_response:
                      type: string
                    aggregator_type:
                      type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bank-Account'
      security: []
      servers:
        - url: https://api.sandbox.sardine.ai/v1
          description: Sandbox
        - url: https://api.sardine.ai/v1
          description: Prod Server
components:
  schemas:
    Bank-Account:
      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
          examples:
            - '98322271627'
        name:
          type: string
          description: User set name of account
          format: email
        officialName:
          type: string
          description: Bank designated name of account
          format: date
          examples:
            - '1997-10-31'
        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
      examples:
        - bankAccountId: 5b26b598-a880-4e32-8c41-126aa0206857
          accountNumber: '98322271627'
          name: John Doe
          officialName: JP Morgan Chase Checking account
          routingNumber: '322271627'
          subtype: checking
          type: string
          wireRoutingNUmber: '32222171627'
          institutionName: JP Morgan Chase
          status: connected
      x-internal: true
      x-stoplight:
        id: nmynlsto9w57k

````