Delete the Daily ATM Withdrawal Limit
The DELETE /api/spendRules/atmDailyLimit endpoint removes an existing daily ATM withdrawal limit from a specified payment card. Once removed, there are no platform-enforced caps on the amount that can be withdrawn from ATMs within a 24-hour period. This action should be taken deliberately, as it reduces a security control on the account.
Endpoint
DELETE /api/spendRules/atmDailyLimit
Authentication
Bearer token required. Obtain via:
POST https://api.banking.netevia.dev/api/auth/v2
Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.
When to use
Use this endpoint when a cardholder or account manager needs to remove a previously configured daily ATM withdrawal cap from a payment card. This is appropriate when a customer requires unrestricted ATM access, such as during travel or high-cash-demand periods. Ensure proper authorization controls are in place before removing this spend rule, as it eliminates a key safeguard against excessive cash withdrawals.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentCardId | string | Yes | The unique identifier of the payment card from which the daily ATM withdrawal limit will be removed. |
Response
200 OK
Returns an integer (int64) confirming the successful deletion of the daily ATM withdrawal limit rule.
| Field | Type | Description |
|---|---|---|
| (response body) | integer (int64) | A numeric identifier or count confirming the spend rule was deleted. |
1Error Codes
| Code | When it happens |
|---|---|
| 400 | paymentCardId is missing, malformed, or does not match an existing card |
| 401 | Token missing, expired, or invalid |
| 403 | Insufficient permissions to modify spend rules for the specified card |
| 404 | No daily ATM withdrawal limit found for the given paymentCardId |
| 500 | Internal server error |
Common Mistakes
- Omitting the
paymentCardIdquery parameter — the endpoint requires it to identify which card's limit to remove. - Calling this endpoint when no daily ATM limit is currently set on the card, which will result in a 404 response.
- Confusing this endpoint with the equivalent endpoints for other spend rule types (e.g., daily purchase limit or transaction velocity limit) — each rule type has its own endpoint.
- Using a stale or expired Bearer token; tokens expire after 10 minutes and must be refreshed before making this call.
Related Endpoints
GET /api/spendRules/atmDailyLimit— Retrieve the current daily ATM withdrawal limit for a payment cardPOST /api/spendRules/atmDailyLimit— Set a new daily ATM withdrawal limit on a payment cardPUT /api/spendRules/atmDailyLimit— Update an existing daily ATM withdrawal limit on a payment cardDELETE /api/spendRules/purchaseDailyLimit— Remove the daily purchase limit from a payment card
Example
curl -X DELETE "https://api.banking.netevia.dev/api/spendRules/atmDailyLimit?paymentCardId=YOUR_PAYMENT_CARD_ID" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"