Skip to content
Start here

Payment Method

Create Payment Intent for Billing Profile
client.billing.profiles.paymentMethod.create(PaymentMethodCreateParams { account_id } params, RequestOptionsoptions?): PaymentMethodCreateResponse { client_secret, intent_type }
POST/accounts/{account_id}/billing/profile/payment-method
ModelsExpand Collapse
PaymentMethodCreateResponse { client_secret, intent_type }
client_secret?: string

The Stripe client secret for frontend payment method collection.

intent_type?: string

The type of Stripe intent created.