PUT/api/v2/cards/{cardId}/limits

Update card spending limits (daily/weekly/monthly) for a specific user and card

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
userId (query)unknownNoUser ID (mandatory)
cardId (path)unknownYesCard ID (mandatory)

Request body

application/json

Request body fields
FieldTypeRequiredDescription
DailyunknownNo
WeeklyunknownNo
MonthlyunknownNo

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
SuccessbooleanNo
MessagestringNo
DailyunknownNo
WeeklyunknownNo
MonthlyunknownNo

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

401 — Unauthorized

Response 401 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

404 — Not Found

Response 404 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

500 — Internal Server Error

Response 500 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

Example request

curl -X PUT "https://{base_url}/api/v2/cards/{cardId}/limits" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

This page is generated from the live OpenAPI specification and always matches the current API.