Confirm Payment Method
Billing
Confirm Payment Method
Confirm payment method after frontend collects it.
After Stripe Elements confirms the SetupIntent, call this endpoint to attach the payment method to the customer and enable auto-billing.
Requirements:
- Admin permission
- Must have called setup-payment-method first
Example:
# After Stripe Elements confirms setup
response = await client.post(
"/v1/organizations/billing/confirm-payment-method",
json={"payment_method_id": "pm_1ABC2DEF3GHI"}
)
POST
Confirm Payment Method
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Payment method confirmation
Stripe PaymentMethod ID from frontend
Example:
"pm_1ABC2DEF3GHI456"
Response
Successful Response
Response after confirming payment method.
Confirmed payment method details
Whether auto-billing is now enabled
When the current billing period started
Whether payment method was successfully confirmed

