update_customer_card
Update a saved customer card's details, such as cardholder name, expiration date, postal code, or city, using the customer ID and card ID.
Instructions
Update a customer card
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"card_id": "<card_id>"
},
"name": "update_customer_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Updated city | |
| name | No | Updated name on card | |
| card_id | Yes | Card ID to update | |
| customer_id | Yes | Customer ID | |
| postal_code | No | Updated postal code | |
| expiration_year | No | Updated expiration year | |
| expiration_month | No | Updated expiration month |