> Fetch https://askmiles.ai/llms.txt first: it indexes every public Miles capability. This file is the markdown twin of https://askmiles.ai/docs/mcp/tools/gift-cards.

# Gift cards

The gift cards in a member's wallet, and adding, updating, or removing one.

### add_gift_card

Save a gift card to the member's wallet. Requires wallet-change access.

| Scope | Quota |
| --- | --- |
| `miles:write` | standard |

| Name | Type | Required |
| --- | --- | --- |
| `merchant` | `string` | required |
| `amount` | `number` |  |
| `expiration` | `string` |  |
| `card_number_last4` | `string` |  |
| `notes` | `string` |  |

### get_gift_cards

The wallet's stored gift cards: merchant, balance, and expiration only.

| Scope | Quota |
| --- | --- |
| `miles:read` | standard |

No parameters.

### remove_gift_card

Delete a gift card from the wallet -- a spent card, or one saved by mistake. Requires wallet-change access.

| Scope | Quota |
| --- | --- |
| `miles:write` | standard |

| Name | Type | Required |
| --- | --- | --- |
| `lookup_merchant` | `string` |  |
| `card_id` | `string` |  |

### update_gift_card

Change a gift card already in the wallet -- most often its balance after the member spends some of it. Requires wallet-change access.

| Scope | Quota |
| --- | --- |
| `miles:write` | standard |

| Name | Type | Required |
| --- | --- | --- |
| `lookup_merchant` | `string` |  |
| `card_id` | `string` |  |
| `merchant` | `string` |  |
| `amount` | `number` |  |
| `expiration` | `string` |  |
| `card_number_last4` | `string` |  |
| `notes` | `string` |  |
