Ttushe / docs
nsk_test_Operational

Change a budget’s cap, window or name

Applied IN PLACE: spend already counted this period is KEPT. Raising ₦2m to ₦3m after ₦1.8m of spend leaves ₦1.2m of headroom, not a fresh ₦3m. Lowering below current spend simply means no more spend this period — nothing already authorized is undone.

PATCHhttps://api.trytushe.com/v1/config/budgets/{budgetId}
PATCH/v1/config/budgets/{budgetId}

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

budgetId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

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",    "accountId": "string",    "limit": "200000000",    "window": "monthly",    "currency": "NGN",    "status": "active",    "spent": "45000000",    "remaining": "155000000",    "periodKey": "2026-08",    "cardCount": 3,    "createdAt": "string"  }}