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

# Resolve a direct deposit recipient

> Resolve a direct deposit recipient. Access is subject to the permissions, authentication, and branch requirements documented for this operation.



## OpenAPI

````yaml /openapi/tenant-staff-v1.openapi.yaml post /direct-deposits/recipients/resolve
openapi: 3.1.0
info:
  title: Anbyan Staff Session API
  version: 1.0.0
  description: >
    Human staff API authenticated with short-lived staff sessions. Login uses
    email and password, followed by MFA when required.
servers:
  - url: https://{tenantDomain}/api/v1/staff
    description: Staff session API on a tenant domain
    variables:
      tenantDomain:
        default: tenant.example.com
security:
  - bearerAuth: []
tags:
  - name: Auth
  - name: Ledger
  - name: Deposits
  - name: Withdrawals
  - name: Transfers
  - name: Vaults
  - name: Direct Deposits
  - name: Bank Migrations
  - name: Accounts
  - name: Account Products
  - name: Clients
  - name: Client Compliance
  - name: Product Applications
  - name: Card Programs
  - name: Card Design Sets
  - name: Cards
  - name: Dashboard
  - name: Simulator
  - name: Compliance Program
  - name: Staff
  - name: Incidents
  - name: Branches
  - name: Jurisdictions
  - name: Locations
  - name: Notifications
  - name: Settings
  - name: FX
  - name: Passbooks
  - name: Access Control
  - name: Users
  - name: Activity Logs
paths:
  /direct-deposits/recipients/resolve:
    post:
      tags:
        - Direct Deposits
      summary: Resolve a direct deposit recipient
      description: >-
        Resolve a direct deposit recipient. Access is subject to the
        permissions, authentication, and branch requirements documented for this
        operation.
      operationId: resolveDirectDepositRecipient
      requestBody:
        $ref: '#/components/requestBodies/ResolveDirectDepositRecipientsRequest'
      responses:
        '200':
          $ref: '#/components/responses/ResolveDirectDepositRecipientsResponse'
components:
  requestBodies:
    ResolveDirectDepositRecipientsRequest:
      required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResolveDirectDepositRecipientsRequest'
  responses:
    ResolveDirectDepositRecipientsResponse:
      description: Direct deposit recipient resolution.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResolveDirectDepositRecipientsResponse'
  schemas:
    ResolveDirectDepositRecipientsRequest:
      type: object
      required:
        - accountAmountMap
        - originationAccount
      properties:
        accountAmountMap:
          type: array
          items:
            type: object
            required:
              - accountNumber
              - amount
            properties:
              accountNumber:
                type: string
              amount:
                type: number
        originationAccount:
          type: string
    ResolveDirectDepositRecipientsResponse:
      type: object
      properties:
        canDirectDeposit:
          type: array
          items:
            $ref: '#/components/schemas/Account'
        cannotDirectDeposit:
          type: array
          items:
            $ref: '#/components/schemas/Account'
        notFound:
          type: array
          items:
            $ref: '#/components/schemas/GenericObject'
        duplicates:
          type: array
          items:
            $ref: '#/components/schemas/GenericObject'
        originatingAccountConflicts:
          type: array
          items:
            $ref: '#/components/schemas/GenericObject'
    Account:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        accountNumber:
          type: string
        accountNumberFormatted:
          type: string
        accountNumberLast4:
          type: string
        type:
          type: string
          enum:
            - checking
            - savings
            - money_market
            - cd
            - loan
        accountHolderType:
          type: string
        currency:
          type: string
        status:
          type: string
          enum:
            - open
            - closed
            - inactive
            - suspended
            - frozen
        availableBalance:
          type: number
        ledgerBalance:
          type: number
        clientId:
          type: string
        openedAt:
          type: string
          format: date-time
    GenericObject:
      type: object
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.