Ttushe / docs
nsk_test_Operational

Change a ceiling

Edited IN PLACE: spend already counted this period is KEPT, never reset. Versioning would mint a new policy and reset the counter, which is how a monthly ceiling could be refreshed by editing it. LOWERING a ceiling is self-serve. RAISING one loosens a control, so it needs a named requester and a second approver — 422 CONTROL_APPROVAL_REQUIRED here, because an API key is not a person. Raise it from the dashboard instead.

PATCHhttps://api.trytushe.com/v1/config/cardholder-limits/{limitId}
PATCH/v1/config/cardholder-limits/{limitId}

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

limitId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "id": "string",    "name": "string",    "cardholder": {      "kind": "customer",      "id": "string",      "key": "person:018f…"    },    "limit": "150000000",    "window": "monthly",    "currency": "NGN",    "spent": "45000000",    "remaining": "105000000",    "periodKey": "2026-08",    "status": "active"  }}