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

# Get User

> The endpoint fetches user profile information, including their contact details and configured webhook URLs for both production and sandbox environments. It also includes information about any active wallets associated with the user's accoun



## OpenAPI

````yaml GET /api/b2b/users
openapi: 3.1.0
info:
  title: Zerocash API
  version: 1.0.0
  description: >-
    The Zerocash API lets you collect payments (charges) and disburse funds
    (payouts) across supported markets through a single, unified integration.
servers:
  - url: https://api.zerocash.tech
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Obtain and manage API credentials.
  - name: Reference Data
    description: Look up countries, banks, operators, and rates before transacting.
  - name: Charges
    description: Collect payments from your customers.
  - name: Payouts
    description: Disburse funds to recipients.
  - name: Transactions
    description: Retrieve and reconcile transactions.
  - name: Webhooks
    description: Receive and replay real-time event notifications.
paths:
  /api/b2b/users:
    get:
      tags:
        - Authentication
      summary: Get User
      description: >-
        The endpoint fetches user profile information, including their contact
        details and configured webhook URLs for both production and sandbox
        environments. It also includes information about any active wallets
        associated with the user's account.
      operationId: get-user
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    success: true
                    firstName: David
                    lastName: 'N'
                    email: support@zerocash.tech
                    publicKey: HC-12
                    webhookUrl: https://api.zerocash.tech/v3/b2b/prod
                    sandboxWebhookUrl: https://api.zerocash.tech/v3/b2b/sand
                    KESWallet:
                      balance: 0
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    default: true
                  firstName:
                    type: string
                    example: David
                  lastName:
                    type: string
                    example: 'N'
                  email:
                    type: string
                    example: support@zerocash.tech
                  publicKey:
                    type: string
                    example: HC-12
                  webhookUrl:
                    type: string
                    example: https://api.zerocash.tech/v3/b2b/prod
                  sandboxWebhookUrl:
                    type: string
                    example: https://api.zerocash.tech/v3/b2b/sand
                  KESWallet:
                    type: object
                    properties:
                      balance:
                        type: integer
                        example: 0
                        default: 0
        '400':
          description: '400'
          content:
            application/json:
              examples:
                User doesn't exist:
                  value:
                    success: false
                    message: User does not exist
                    errorCode: E-B2B-S-118
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                    default: true
                  message:
                    type: string
                    example: User does not exist
                  errorCode:
                    type: string
                    example: E-B2B-S-118
      deprecated: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````