# Get Account Details API

{% tabs %}
{% tab title="Production" %}
<https://payout.payumoney.com/payout/merchant/getAccountDetail>
{% endtab %}

{% tab title="Testing" %}
<https://test.payumoney.com/payout/merchant/getAccountDetail>
{% endtab %}
{% endtabs %}

## &#x20;**Request Header Params**

| **Key**          | **Description**                                               | **Data type** | **Mandatory** | **possible Values**    |
| ---------------- | ------------------------------------------------------------- | ------------- | ------------- | ---------------------- |
| Authorization    | Access token generated earlier. Read section 2.               | String        | Yes           | Bearer {access\_token} |
| payoutMerchantId | This is the merchant id provided while onboarding for payouts | String        | Yes           |                        |

{% hint style="danger" %}
&#x20;payoutMerchantId is different from payu merchant Id, please use the correct one for *seamless* experience
{% endhint %}

## **Example**

**Method :** GET

**Test Environment Request :**

```
curl -X GET \
 https://test.payumoney.com/payout/merchant/getAccountDetail
 -H 'cache-control: no-cache' \
 -H 'content-type: application/x-www-form-urlencoded' \
 -H 'authorization: bearer aab9dc927c4a68af7eb95ef694f0b48bb731c5a1a7111786d6658d774db14188' \
 -H 'payoutMerchantId: 1111123'
```

**Test Environment Response :**

```
{
"status": 0,
"msg": null,
"code": null,
"data": { 
          "payoutMerchantId": 1111123,
          "uuid": "11e8-5a8f-05faaaa4-84a5-020d245326e4",
          "virtualAccountNumber": "PAYUIN1111123",
          "transferableAmount": 0,
          "balance": 94003,
          "lowBalance": false,
          "ifsc": "YESB0CMSNOC",
          "type": "current",
          "clientId": "6f8bb4951e030d4d7349e64a144a534778673585f86039617c167166e9154f7e",
          "transitAccountNumber": null
    }
}
```

## **Response Params**

| **Key**                   | **Description**                                                                             |
| ------------------------- | ------------------------------------------------------------------------------------------- |
| status                    | Api status code 0 - Success 1-Failure                                                       |
| msg                       | Response Message                                                                            |
| code                      | Error Code in case of any error                                                             |
| data.payoutMerchantId     | Merchant Id                                                                                 |
| data.uuid                 | Unique user id of user                                                                      |
| data.virtualAccountNumber | Virtual Account number of merchant. This is used for prefunding the merchant payout account |
| data.ifsc                 | Account Ifsc Code                                                                           |
| data.type                 | Type of the Account                                                                         |
| data.transferableAmount   | For future user.                                                                            |
| data.balance              | Current balance of merchant payout account                                                  |
| data.lowBalance           | True/False - True in case merchant balance is low to process next transfer request.         |
| data.clientId             | Public client id for generating access token                                                |
| data.transitAccountNumber | Future use                                                                                  |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://payu-docs.gitbook.io/payouts-integration/core-payouts-api/get-account-details.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
