This diagram shows how your client, your server, and Affirm interact:
This schema is relevant for any client-side integration via web or mobile.
- The customer and merchant submit the order information
- The client communicates that information to Affirm
- Affirm renders the checkout experience and on loan confirmation by the customer and returns a
Your front-end sends the
checkout_token to your server (via POST, GET or a Webhook).
Your server code receives the
checkout_token and then uses it to initiate a charge.
Affirm will host the full checkout experience based on the request details. For web, use
Affirm.js. For mobile, use iOS and/or Android SDKs.
Updated 11 months ago
Ready to collect customer details? Choose your platform to collect, request and tokenize your customer details.