Home / Servers / Stripe API / post_ephemeral_keys

Create an ephemeral key

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

Create an ephemeral key Creates a short-lived API key for a given resource. [POST /v1/ephemeral_keys]

Name on the gateway: stripe_api__post_ephemeral_keys · may change things.

Parameters

NameTypeDescription
customerstringThe ID of the Customer you'd like to modify using the resulting ephemeral key.
expandarraySpecifies which fields in the response should be expanded.
issuing_cardstringThe ID of the Issuing Card you'd like to access using the resulting ephemeral…
noncestringA single-use token, created by Stripe.js, used for creating ephemeral keys for…
verification_sessionstringThe ID of the Identity VerificationSession you'd like to access using the…

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_ephemeral_keys",
  "arguments": {}
}

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 an ephemeral key tool with customer set to ….

More from Stripe API