# Wallet Endpoints (api/Wallet)

### **General Definitions**

<table border="1" id="bkmrk-parameter-descriptio" style="height: 113px; width: 87.037%;"><tbody><tr><td style="width: 49.9291%;">**Parameter**</td><td style="width: 49.9291%;">**Description**</td></tr><tr><td style="width: 49.9291%;">baseurl</td><td style="width: 49.9291%;">Sandbox - [https://test.xprizo.com/api](https://test.xprizo.com/api)

Live- [https://wallet.xprizo.com/api](https://wallet.xprizo.com/api)

</td></tr><tr><td style="width: 49.9291%;">apiversion</td><td style="width: 49.9291%;">1.0</td></tr><tr><td style="width: 49.9291%;">apikey</td><td style="width: 49.9291%;">API key For authentication</td></tr></tbody></table>

### **Get Wallet Information**

<p class="callout info">**Request**</p>

```bash
curl --location --request GET '{baseurl}/Wallet/Info?contact={username/emailid/mobilenumber}&currencyCode={currencyCode}' \
--header 'Accept: text/plain; x-api-version=1.0' \
--header 'x-api-version: {apiversion}' \
--header 'x-api-key: {apikey}'
```

<table border="1" id="bkmrk-parameter-descriptio-0" style="border-collapse: collapse; width: 100%; height: 89.3907px;"><tbody><tr style="height: 29.7969px;"><td style="width: 49.9383%; height: 29.7969px;">**Parameter**</td><td style="width: 49.9383%; height: 29.7969px;">**Description**</td></tr><tr style="height: 29.7969px;"><td style="width: 49.9383%; height: 29.7969px;">contact</td><td style="width: 49.9383%; height: 29.7969px;">enter the user's mobile number, username, or email for searching</td></tr><tr style="height: 29.7969px;"><td style="width: 49.9383%; height: 29.7969px;">currencyCode</td><td style="width: 49.9383%; height: 29.7969px;">the currency code of the wallet to search for - leave blank to fetch the user's default wallet.</td></tr></tbody></table>

<p class="callout success">**Response (200)**</p>

```bash
{
    "id": <accountId>,
    "contactId": <contactId>,
    "contact": <owners Name>,
    "currencyCode": <currency code>,
    "symbol": <currency symbol>,
    "name": <wallet name>,
    "profilePicture": <owners picture>,
    "isDefault": <is the owners default wallet>,
    "isMerchant": <is the owners have merchant wallet>
}
```