Home / Servers / Stripe API / post_payment_methods
Create a PaymentMethod
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a PaymentMethod Creates a PaymentMethod object. Read the Stripe.js reference to learn how to create PaymentMethods via Stripe.js. Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents… [POST /v1/payment_methods]
Name on the gateway: stripe_api__post_payment_methods · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
acss_debit | object | If this is an acss_debit PaymentMethod, this hash contains details about the… |
affirm | object | If this is an affirm PaymentMethod, this hash contains details about the… |
afterpay_clearpay | object | If this is an AfterpayClearpay PaymentMethod, this hash contains details about… |
alipay | object | If this is an Alipay PaymentMethod, this hash contains details about the… |
allow_redisplay | always | limited | unspecified | This field indicates whether this payment method can be shown again to its… |
alma | object | If this is an Alma PaymentMethod, this hash contains details about the Alma… |
amazon_pay | object | If this is an AmazonPay PaymentMethod, this hash contains details about the… |
au_becs_debit | object | If this is an au_becs_debit PaymentMethod, this hash contains details about… |
bacs_debit | object | If this is a bacs_debit PaymentMethod, this hash contains details about the… |
bancontact | object | If this is a bancontact PaymentMethod, this hash contains details about the… |
billie | object | If this is a billie PaymentMethod, this hash contains details about the Billie… |
billing_details | object | Billing information associated with the PaymentMethod that may be used or… |
bizum | object | If this is a bizum PaymentMethod, this hash contains details about the Bizum… |
blik | object | If this is a blik PaymentMethod, this hash contains details about the BLIK… |
boleto | object | If this is a boleto PaymentMethod, this hash contains details about the Boleto… |
card | object | If this is a card PaymentMethod, this hash contains the user's card details.… |
cashapp | object | If this is a cashapp PaymentMethod, this hash contains details about the Cash… |
crypto | object | If this is a Crypto PaymentMethod, this hash contains details about the Crypto… |
custom | object | If this is a custom PaymentMethod, this hash contains details about the Custom… |
customer | string | The Customer to whom the original PaymentMethod is attached. |
customer_balance | object | If this is a customer_balance PaymentMethod, this hash contains details about… |
eps | object | If this is an eps PaymentMethod, this hash contains details about the EPS… |
expand | array | Specifies which fields in the response should be expanded. |
fpx | object | If this is an fpx PaymentMethod, this hash contains details about the FPX… |
giropay | object | If this is a giropay PaymentMethod, this hash contains details about the… |
grabpay | object | If this is a grabpay PaymentMethod, this hash contains details about the… |
ideal | object | If this is an ideal PaymentMethod, this hash contains details about the iDEAL… |
interac_present | object | If this is an interac_present PaymentMethod, this hash contains details about… |
kakao_pay | object | If this is a kakao_pay PaymentMethod, this hash contains details about the… |
klarna | object | If this is a klarna PaymentMethod, this hash contains details about the Klarna… |
konbini | object | If this is a konbini PaymentMethod, this hash contains details about the… |
kr_card | object | If this is a kr_card PaymentMethod, this hash contains details about the… |
link | object | If this is an Link PaymentMethod, this hash contains details about the Link… |
mb_way | object | If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
mobilepay | object | If this is a mobilepay PaymentMethod, this hash contains details about the… |
multibanco | object | If this is a multibanco PaymentMethod, this hash contains details about the… |
naver_pay | object | If this is a naver_pay PaymentMethod, this hash contains details about the… |
nz_bank_account | object | If this is an nz_bank_account PaymentMethod, this hash contains details about… |
oxxo | object | If this is an oxxo PaymentMethod, this hash contains details about the OXXO… |
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",
"arguments": {}
}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 create a paymentmethod tool with acss_debit set to ….