Skip to content

Replace the default card with a confirmed SetupIntent payment method.

PUT
/v1/admin/billing/payment-method
curl --request PUT \
--url https://example.com/v1/admin/billing/payment-method \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "paymentMethodId": "example" }'
Media typeapplication/json
object
paymentMethodId
required

Stripe PaymentMethod id returned by the confirmed SetupIntent.

string

Example generated

{
"paymentMethodId": "example"
}