Home / Servers / Stripe API / post_payment_methods_payment_method
Update a PaymentMethod
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Update a PaymentMethod Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated. [POST /v1/payment_methods/{payment_method}]
Name on the gateway: stripe_api__post_payment_methods_payment_method · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
payment_method required | string | payment_method parameter |
allow_redisplay | always | limited | unspecified | This field indicates whether this payment method can be shown again to its… |
billing_details | object | Billing information associated with the PaymentMethod that may be used or… |
card | object | If this is a card PaymentMethod, this hash contains the user's card details. |
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… |
us_bank_account | object | If this is an us_bank_account PaymentMethod, this hash contains details about… |
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_payment_methods_payment_method",
"arguments": {
"payment_method": "…"
}
}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 paymentmethod tool with payment_method set to ….