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

# Get Wallet Data

> Fetch wallet-related information about a logged-in ZBD User.

## Description

You can use this API endpoint to fetch information about a given ZBD User's Wallet, granted you can pass the provided `accessToken`.

## Usage

[Read here for more details](/earn/oauth2) on how to setup ZBD Login (OAuth2) with your platform.

## Configuration

### Header Parameters

<ParamField required header="usertoken" type="string">
  OAuth2 Access Token
</ParamField>

<ParamField required header="apikey" type="string">
  ZBD Project API Key
</ParamField>

<ResponseExample>
  ```json Response theme={null}
  {
    "data": {
      "balance": "98251000",
      "remainingAmountLimits": {
        "daily": "1000000000",
        "maxCredit": "4901749000",
        "monthly": "25000000000",
        "weekly": "5000000000",
      },
    },
    "message": "Successfully fetched user wallet.",
    "success": true,
  }
  ```
</ResponseExample>
