Home / Servers / Stripe API / post_customers_customer_bank_accounts_id
Update a card
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Update a card Update a specified source for a given customer. [POST /v1/customers/{customer}/bank_accounts/{id}]
Name on the gateway: stripe_api__post_customers_customer_bank_accounts_id · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
customer required | string | customer parameter |
id required | string | id parameter |
account_holder_name | string | The name of the person or business that owns the bank account. |
account_holder_type | company | individual | The type of entity that holds the account. This can be either individual or… |
address_city | string | City/District/Suburb/Town/Village. |
address_country | string | Billing address country, if provided when creating card. |
address_line1 | string | Address line 1 (Street address/PO Box/Company name). |
address_line2 | string | Address line 2 (Apartment/Suite/Unit/Building). |
address_state | string | State/County/Province/Region. |
address_zip | string | ZIP or postal code. |
exp_month | string | Two digit number representing the card’s expiration month. |
exp_year | string | Four digit number representing the card’s expiration year. |
expand | array | Specifies which fields in the response should be expanded. |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
name | string | Cardholder name. |
owner | object | owner |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "stripe_api__post_customers_customer_bank_accounts_id",
"arguments": {
"customer": "…",
"id": "…"
}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update a card tool with customer set to ….