Ttushe / docs
nsk_test_Operational

Assign the card to a budget (or clear it)

A budget counts nothing until cards are assigned to it. Refused if the budget draws from a different account than the card funds from — a spend would hold against one balance and count against an envelope over another, and the two could never be reconciled. Putting an UNCAPPED card onto a budget is a tightening and applies immediately. Unassigning (budgetId: null), or moving a card to a less restrictive budget, is a loosening and needs a second person to approve it — which an API key cannot be, so do that from the dashboard.

PUThttps://api.trytushe.com/v1/cards/{id}/budget
PUT/v1/cards/{id}/budget

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

id*string

Card id

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": {    "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",    "budgetId": "fcf1d230-a9d0-4836-9e20-f98f3396e01b"  }}