Home / Servers / Stripe API / post_customers_customer

Update a customer

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Update a customer Updates the specified customer by setting the values of the parameters passed. Any parameters not provided are left unchanged. For example, if you pass the source parameter, that becomes the… [POST /v1/customers/{customer}]

Name on the gateway: stripe_api__post_customers_customer · may change things.

Parameters

NameTypeDescription
customer requiredstringcustomer parameter
addressobjectThe customer's address. Learn about country-specific requirements for…
balanceintegerAn integer amount in cents (or local equivalent) that represents the…
bank_accountobjectEither a token, like the ones returned by Stripe.js, or a dictionary…
business_namestringThe customer's business name. This may be up to *150 characters*.
cardobjectA token, like the ones returned by Stripe.js.
cash_balanceobjectBalance information and default balance settings for this customer.
default_alipay_accountstringID of Alipay account to make the customer's new default for invoice payments.
default_bank_accountstringID of bank account to make the customer's new default for invoice payments.
default_cardstringID of card to make the customer's new default for invoice payments.
default_sourcestringIf you are using payment methods created via the PaymentMethods API, see the…
descriptionstringAn arbitrary string that you can attach to a customer object. It is displayed…
emailstringCustomer's email address. It's displayed alongside the customer in your…
expandarraySpecifies which fields in the response should be expanded.
individual_namestringThe customer's full name. This may be up to *150 characters*.
invoice_prefixstringThe prefix for the customer used to generate unique invoice numbers. Must be…
invoice_settingsobjectDefault invoice settings for this customer.
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
namestringThe customer's full name or business name.
next_invoice_sequenceintegerThe sequence to be used on the customer's next invoice. Defaults to 1.
phonestringThe customer's phone number.
preferred_localesarrayCustomer's preferred languages, ordered by preference.
shippingobjectThe customer's shipping information. Appears on invoices emailed to this…
sourcestring
taxobjectTax details about the customer.
tax_exempt | exempt | none | reverseThe customer's tax exemption. One of none, exempt, or reverse.

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:

call_tool arguments
{
  "name": "stripe_api__post_customers_customer",
  "arguments": {
    "customer": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
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 customer tool with customer set to ….

More from Stripe API