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

# Update Card Spend Limits

> Set per-transaction, daily, monthly, and all-time spending thresholds

Configure granular spending controls on a virtual card. Transactions exceeding these configured limits will be declined automatically.

### Headers

| Header | Type | Description |
| :- | :- | :- |
| `Authorization` | `string` | `Bearer <accessToken>` |
| `Content-Type` | `string` | `application/json` |

***

### Path Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `id` | `string` | **Yes** | Virtual card ID (`crd_...`) or unique reference. |

***

### Request Body

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `transactionLimit` | `number` | No | Maximum spend allowed on a single transaction in USD. |
| `dailyLimit` | `number` | No | Maximum cumulative spend allowed per calendar day in USD. |
| `monthlyLimit` | `number` | No | Maximum cumulative spend allowed per calendar month in USD. |
| `allTimeLimit` | `number` | No | Total lifetime spend cap permitted on this card in USD. |

***

### Request Example

```bash cURL theme={null}
curl -X PUT "https://api.laikipay.com/v1/merchant/cards/crd_8f921ab0c1/spend-limits" \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
  -H "Content-Type: application/json" \
  -d '{
    "transactionLimit": 500.00,
    "dailyLimit": 1000.00,
    "monthlyLimit": 5000.00,
    "allTimeLimit": 20000.00
  }'
```

***

### Response (`200 OK`)

```json theme={null}
{
  "status": "success",
  "data": {
    "message": "Card spend limits updated successfully",
    "cardId": "crd_8f921ab0c1",
    "spendLimits": {
      "transactionLimit": 500.0,
      "dailyLimit": 1000.0,
      "monthlyLimit": 5000.0,
      "allTimeLimit": 20000.0
    }
  },
  "timestamp": "2026-10-12T07:30:00.000Z",
  "path": "/api/v1/merchant/cards/crd_8f921ab0c1/spend-limits"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.