---
title: "Create Payment Method"
method: POST
path: "/payment-methods/"
tags: ["payment-methods"]
---

# Create Payment Method

`POST /payment-methods/`

Create a SetupIntent for adding a new payment method.

Returns client_secret for Stripe Elements to collect card details.
This is a generic endpoint - no opportunity is attached.

If the user has no Stripe customer yet, one is created lazily using
the email from the user's account.

## Response `201`

Successful Response

- CreatePaymentMethodResponse
  - `setup_intent_id` string, required
  - `client_secret` string, required
  - `stripe_customer_id` string, required

---

[API](https://skmtc.dev/helloaxel/apis/client-api-gateway.md) · [All operations](https://skmtc.dev/helloaxel/apis/client-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/helloaxel/client-api-gateway/revisions/d3c4c29fede7/schema)
