> For the complete documentation index, see [llms.txt](https://docs.udara360.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.udara360.io/udara360-docs-1/limit/account/get-account-transfer-limit.md).

# Get Account Transfer Limit

To retrieve an account's transfer limit, you can send a `GET` request to the following endpoint:

<mark style="color:green;">`GET`</mark> `/api/Limit/v{{version}}/GetAccountLimit`

The request query should contain the `accountNumber` to specify which account's limits to retrieve.

This API streamlines the process of checking an account's current transfer limits, offering visibility into the configured limit, its upgrade/downgrade bounds, and today's transaction usage.

{% hint style="info" %}
This limit applies to transfers only.
{% endhint %}

**Headers**

| Name                                           | Value              |
| ---------------------------------------------- | ------------------ |
| Content-Type<mark style="color:red;">\*</mark> | `application/json` |

**Query Params**

| Name            | Description                                            |
| --------------- | ------------------------------------------------------ |
| `accountNumber` | The account number to retrieve the transfer limit for. |

**Body Response**

| Field                         | Data Type | Description                                                              |
| ----------------------------- | --------- | ------------------------------------------------------------------------ |
| `accountNumber`               | *string*  | The account number the limit record belongs to.                          |
| `maxDailyTransactionLimit`    | *long*    | The maximum daily limit the account can upgrade to.                      |
| `userDailyTransactionLimit`   | *long*    | The maximum amount the user has configured to do daily.                  |
| `minDailyTransactionLimit`    | *long*    | The minimum daily limit a user can downgrade to.                         |
| `maxSingleTransactionLimit`   | *long*    | The maximum single limit the account can upgrade to.                     |
| `userSingleTransactionLimit`  | *long*    | The maximum amount the user has configured to do per single transaction. |
| `minSingleTransactionLimit`   | *long*    | The minimum single limit a user can downgrade to.                        |
| `totalTransactionCountToday`  | *integer* | The number of transactions done today.                                   |
| `totalTransactionAmountToday` | *number*  | The total amount of transactions done today.                             |
| `status`                      | *boolean* | Whether the request was successful.                                      |
| `message`                     | *string*  | Response message from the operation.                                     |

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

<details>

<summary>Sample Request</summary>

```json
curl --location -g '{{baseUrl}}api/Limit/v{{version}}/GetAccountLimit?accountNumber=1101005562'
```

</details>

<details>

<summary>Response: <code>200</code></summary>

```json
{
    "data": {
        "accountNumber": "1101005562",
        "maxDailyTransactionLimit": 200000000, //This is the maximum daily limit the account can upgrade to as determined by the bank
        "userDailyTransactionLimit": 76000000, //This is the maximum amount the user has configured to do daily
        "minDailyTransactionLimit": 0, //This is just the minimum daily limit a user can downgrade to
        "maxSingleTransactionLimit": 20000000, //This is the maximum single limit the account can upgrade to as determined by the bank
        "userSingleTransactionLimit": 16000000,//This is the maximum amount the user has configured to do per transaction
        "minSingleTransactionLimit": 0, //This is just the minimum single limit a user can downgrade to
        "totalTransactionCountToday": 0, //This is the number of transactions done today
        "totalTransactionAmountToday": 0 //This is the total amount of transactions done today
    },
    "status": true,
    "message": "Request successful"
}
```

</details>
