Home / Servers / Stripe API / post_customers_customer_bank_accounts

Create a card

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

Create a card When you create a new credit card, you must specify a customer or recipient on which to create it. If the card’s owner has no default card, then the new card will become the default. However, if the… [POST /v1/customers/{customer}/bank_accounts]

Name on the gateway: stripe_api__post_customers_customer_bank_accounts · may change things.

Parameters

NameTypeDescription
customer requiredstringcustomer parameter
alipay_accountstringA token returned by Stripe.js representing the user’s Alipay account details.
bank_accountobjectEither a token, like the ones returned by Stripe.js, or a dictionary…
cardobjectA token, like the ones returned by Stripe.js.
expandarraySpecifies which fields in the response should be expanded.
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
sourcestringPlease refer to full documentation instead.

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_bank_accounts",
  "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 create a card tool with customer set to ….

More from Stripe API