Patch card limits
PATCH/api/partner/cards/:id/limits
Updates one or more card limits in a single call. Each item needs a
concrete name (a CardLimitType) and a non-negative value.
First call GET /cards/{id}/limits and use approvalThreshold and
max from that response.
For each requested value:
- Above
max→ rejected with400. - Above
approvalThreshold, but at or belowmax→ the whole batch needs approval. Nothing changes on the card yet. Response is201withpendingApproval: trueand ataskId. A new batch cancels any older pending request for the same card. - At or below
approvalThreshold→ applied immediately (200).
Request
Responses
- 200
- 201
- 400
- 401
- 403
Limits updated immediately
Batch requires approval — nothing changed on the card yet
Bad request — missing or invalid fields
Unauthorized — missing or invalid JWT
Forbidden — resource not owned by the calling partner