> 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/card/update-card-limit.md).

# Update Card Limit

To update an existing card's limit, you can send a `PUT` request to the following endpoint:

<mark style="color:blue;">`PUT`</mark> `/api/Limit/v{{version}}/UpdateCardLimit`

The request body should contain the `cardId`, along with only the specific limit fields you wish to change, any field left as null will not be updated.

This endpoint streamlines the process of adjusting a card's limits, offering a partial-update approach so you don't need to resend every configured value each time.

**Headers**

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

**Body**

<table><thead><tr><th>Name</th><th>Data Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>atM_Daily_Withdrawal_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the daily withdrawal limit on ATMs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>atM_Single_Withdrawal_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the single withdrawal limit on ATMs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>atM_Daily_Withdrawal_Count</code></td><td><em>integer</em></td><td>false</td><td>Field holding the daily withdrawal count on ATMs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it</mark>.</em></td></tr><tr><td><code>atM_Weekly_Withdrawal_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the weekly withdrawal limit on ATMs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>poS_Daily_Transaction_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the daily transaction limit on POSs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>poS_Daily_Transaction_Count</code></td><td><em>integer</em></td><td>false</td><td>Field holding the daily transaction count on POSs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>poS_Daily_Withdrawal_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the daily withdrawal limit on POSs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>poS_Weekly_Withdrawal_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the weekly withdrawal limit on POSs.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>online_Daily_Transaction_Limit</code></td><td><em>long</em></td><td>false</td><td>Field holding the daily transaction limit for web/online transactions.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>online_Daily_Transaction_Count</code></td><td><em>long</em></td><td>false</td><td>Field holding the daily transaction count for web/online transactions.<br><br><em><mark style="color:red;">Set it as null if you do not wish to update it.</mark></em></td></tr><tr><td><code>cardId</code></td><td><em>string</em></td><td>true</td><td>The ID of the card record to be updated.</td></tr></tbody></table>

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 --request PUT '{{baseUrl}}api/Limit/v{{version}}/UpdateCardLimit' \
--header 'Content-Type: application/json' \
--header 'request-reference: unique_string' \
--data '{
  "online_Daily_Transaction_Count": 5,
  "cardId": "5099f14c-b963-4919-95a4-104a42eeedd8"
}'
```

</details>

<details>

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

```json
{
  "status": true,
  "message": "Operation Successful"
}
```

</details>
