Update a card
update_cardChanges settings on a card already in the wallet: its category picks for this period, checkout label, anniversary or activated categories. Picks for the current period are merged with the ones already saved. Use it when the user picks new categories, such as each quarter on U.S. Bank Cash+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bonus | No | A welcome bonus the user is working toward, so purchases recorded on this card count toward it and answers can favor it. Ask when they opened the account; spending needed and the deadline default to the card's published offer. null stops tracking it. | |
| picks | No | For cards where the cardholder picks bonus categories: choice id → option ids, from search_cards, e.g. {"five-percent": ["tv-internet-streaming", "fast-food"]}. Saved for the current period. Ask the user; don't guess. | |
| cardId | Yes | The card id from search_cards, e.g. chase-sapphire-preferred. | |
| capSpent | No | Dollars already spent this period on a capped bonus, for a card the user starts tracking partway through: cap key (as list_wallet shows it) → dollars, e.g. {"five-percent-quarterly": 400}. Ask; recorded purchases add to it from then on. | |
| activated | No | Rule ids the user has activated with the issuer, such as rotating categories. Replaces the current list. | |
| anniversary | No | The account's anniversary as MM-DD, for cards whose cap resets on it. | |
| checkoutLabel | No | How the card appears at checkout or in a browser wallet, e.g. "Amex Gold". Optional; null goes back to the card's own name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| cardIds | Yes | ||
| created | Yes | ||
| message | Yes | ||
| memberships | Yes |