Learn about integrating Affirm with Stripe.


Stripe is a global payment processing platform with an array of merchant integration options. Our partnership with Stripe gives you access to Affirm's powerful features — from conversion-driving on-site messaging to flexible payment options — all via Stripe’s elegant interface.

Depending on your Stripe integration method, adding Affirm as a payment option for your customers can require just a single line of code.



This integration is available in both the United States and Canada.

How Affirm Works

We're here to make financing a breeze for you and your customers! With Affirm, your customers can easily pay-over-time for their purchases. Our integration is simple, so you can offer payment options online or in-store. We'll provide you with all the necessary tools to set up your business to display monthly payment options, offer prequalification, and add Affirm at checkout. Let's make financing easy together!


Our integration with Stripe supports the following products, so you can frictionlessly enable Affirm.

On-site Messaging

Use the Payment Method Messaging Element to bring awareness to the Affirm payment option by adding Affirm on-site messaging at every phase of the shopping journey—increasing conversion and average order value for your business.

Flexible Payment Options

Effortlessly enable Affirm at checkout, regardless of your integration method with Stripe. Whether you're utilizing your custom payment form with Stripe's Payment Intents API, the Stripe Payment Element, or Stripe's prebuilt checkout page, Affirm's got you covered.