Tighten or freeze an agent card
Tighten a card’s merchant categories, or freeze it. An agent can never loosen a card or unfreeze it; the platform does that with PATCH /cards/{id}. Requires the MANAGE_CARDS permission.
Authorizations
Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/redeem. Agent credentials are user-scoped: all requests are automatically bound to the agent's associated customer and subject to the agent's policy.
Path Parameters
Unique identifier of the card
Body
Update request for PATCH /agents/me/cards/{cardId}. At least one field must be supplied. An agent may freeze the card or tighten merchant categories: blockedMccs must contain every code in the card's effectiveBlockedMccs, and allowedMccs may only lose codes once set. The only status an agent may set is FROZEN; unfreezing and loosening happen on the platform through PATCH /cards/{id}. The platform manages card velocity limits through /card-velocity-limits.
Freeze the card. New authorizations are declined.
FROZEN "FROZEN"
Merchant category codes the card may spend at. Once set, a replacement must be a subset of the current list.
1^[0-9]{4}$Merchant category codes the card declines. A replacement must contain every code in the card's effectiveBlockedMccs, so an agent can never lift a block, Grid's default agent blocks included.
^[0-9]{4}$Response
Card updated
A card that belongs to the authenticated agent: the card itself and how the agent may use it.
The agent the card belongs to.
"Agent:019542f5-b3e7-1d02-0000-000000000042"
How an agent card is used and funded.
STANDARD, PURCHASE Every merchant category code the card declines: blockedMccs plus the categories Grid blocks for agent cards, unless the platform lifted those defaults (defaultMccBlocksLifted).
^[0-9]{4}$The platform's reference for the person the card was issued for: the issuing agent's actingFor when the card was issued. Absent when the agent had none.
"member_8f2c1a"
The purchase the card was issued for. Present for PURCHASE cards.