Create source

This endpoint is deprecated and will be removed in a future version. Use Create payment method endpoint instead.

Description

Use this protected endpoint to create a new payment method, attach it to the authenticated customer and set it as the default. It will return a Customer resource when 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!