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

# Get Recipient by ID

Retrieve a specific recipient by its unique ID. Returns detailed information about the recipient including type, details, and status.


## OpenAPI

````yaml GET /v1/recipients/{id}
openapi: 3.1.0
info:
  title: Hashrails API
  description: >-
    Comprehensive API documentation for Hashrails – easily create, manage, and
    query virtual accounts, recipients, and bank integrations. Secure, scalable,
    and developer-friendly.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.railsfromthecrypt.com
  - url: https://api.hashrails.com
security: []
paths:
  /v1/recipients/{id}:
    get:
      tags:
        - Recipients
      summary: Get a recipient by ID
      operationId: PublicRecipientController_getById
      parameters:
        - name: x-api-key
          in: header
          description: API key for authentication
          required: true
          schema:
            type: string
        - name: id
          required: true
          in: path
          description: Recipient ID
          schema:
            type: string
            example: rec_01J8V9ZP3A7
      responses:
        '200':
          description: Recipient retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Recipient retrieved successfully
                  data:
                    oneOf:
                      - $ref: '#/components/schemas/PublicCryptoRecipientResponseDto'
                      - $ref: '#/components/schemas/PublicFiatRecipientResponseDto'
        '404':
          description: Recipient not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: Recipient not found
components:
  schemas:
    PublicCryptoRecipientResponseDto:
      type: object
      properties:
        id:
          type: string
          example: rec_01J8V9ZP3A7
        type:
          type: string
          example: crypto
        name:
          type: string
          example: Vendor Payment
        active:
          type: boolean
          example: true
        details:
          type: object
          properties:
            network:
              type: string
              example: Polygon
            wallet_address:
              type: string
              example: '0x3fA91D6b84bE2c0BFD7647a92E5B1A2Ec6F8C91e'
            symbol:
              type: string
              example: USDT
        created_at:
          type: string
          example: '2025-10-10T09:15:21Z'
      required:
        - id
        - type
        - name
        - active
        - details
        - created_at
    PublicFiatRecipientResponseDto:
      type: object
      properties:
        id:
          type: string
          example: rec_01J8V9ZP3A7
        type:
          type: string
          example: fiat
        name:
          type: string
          example: Acme Ltd
        active:
          type: boolean
          example: true
        details:
          type: object
          properties:
            bank_name:
              type: string
              example: Wema Bank
            account_number:
              type: string
              example: '0123456789'
            account_name:
              type: string
              example: ACME LTD
            currency:
              type: string
              example: NGN
        created_at:
          type: string
          example: '2025-10-10T09:15:21Z'
      required:
        - id
        - type
        - name
        - active
        - details
        - created_at

````