Update transaction limit for a card beta

Updates the transaction limit for a given card.

SecurityCommonAuth
Request
path Parameters
cardId
required
string <uuid> <= 36 characters

The ID of the card to work with.

Example: e9293471-5eb3-4dbc-916c-dbaf9e2deefd
limitId
required
string <uuid> <= 36 characters

The ID of the limit to work with.

query Parameters
accountId
required
string

The ID of the account to work with.

Example: accountId=F50091
budgetId
required
string <uuid> <= 36 characters

The ID of the budget to work with.

Example: budgetId=775596ae-2624-40af-a9dc-9756110a4a03
personId
string <uuid> <= 36 characters

The ID of the person to work with.

Example: personId=775596ae-2624-40af-a9dc-9756110a4a04
Request Body schema: application/json

Body

Any of:
amount
required
number

amount of limit to be set

active
boolean

Indicates whether the limit is active on Marqeta.

limitTurnedOff
boolean

Defines if the limit was turned off by the user

limitWindow
string

Defines the time period to which the limit apply

Enum: "DAY" "WEEK" "MONTH" "LIFETIME"
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

Method Not Allowed

415

Unsupported Media Type

429

Too Many Requests

500

Internal Server Error

put/cards/{cardId}/transaction-limits/{limitId}
Request samples
application/json
{
  • "amount": 100.5,
  • "active": true,
  • "limitTurnedOff": true,
  • "limitWindow": "DAY"
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "amount": 100.5,
  • "currencyCode": "GBP",
  • "active": true,
  • "limitTurnedOff": true,
  • "limitWindow": "TRANSACTION"
}