Sources The Sources API has been deprecated and replaced by the Payment Intents API. Stripe.js provides the following methods to create and retrieve Sources, which are part of the Charges API.