Afterpay (Clearpay in the UK) lets your customers pay in 4 installments, but you receive the full payment amount up front and Afterpay does the rest.
const intent = await stripe.paymentIntents.create({
amount: 1099,
currency: "usd",
payment_method_types: ["afterpay_clearpay"],
shipping: {
name: "Jenny Rosen",
address: {
line1: "1234 Main Street",
city: "San Francisco",
state: "CA",
country: "US",
postal_code: "94111"
}
}
});
Make copies, remix, change and learn how to play with this tinydemo.
Reach out to us on any of our contact channels: