Create payment method

Create a new payment method for the customer on-session.

Description

Use this protected endpoint to create a new payment method, attach it to the authenticated customer set it as the default. It will return a Payment method resourcewhen successful, with additional information about the setupIntent, if applicable.

Related webhook events

Related features


Language
Credentials
Query
Click Try It! to start a request and see the response here!