Update Customer
update_customerUpdate an existing Stripe customer's details by providing their customer ID and new values for email, name, phone, description, or metadata.
Instructions
Update an existing Stripe customer's details.
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>"
},
"name": "update_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | Stripe customer ID (cus_...) | |
| No | New email address | ||
| name | No | New name | |
| phone | No | New phone number | |
| description | No | New description | |
| metadata | No | Metadata to merge (set value to empty string to remove a key) | |
| default_payment_method | No | Default payment method ID for invoices | |
| idempotency_key | No | Optional idempotency key for safe retries |