Get started with Afterpay
Before you begin
If this is your first payment method, make sure to follow the Get started guide to begin processing payments with Primer.Configure in the Dashboard
- Add Afterpay payment method to your Dashboard
- Activate Afterpay on the Checkout
- Configure a Workflow to process payments made with Afterpay
Prepare the client session
Afterpay leverages the following parameters to process a payment. Pass them when creating the client session.| Parameter Name | Required | Description |
|---|---|---|
| currencyCode | ✓ | 3-letter currency code in ISO 4217 format, e.g. USD for US dollars |
| order ↳ lineItems | ✓ | Details of the line items of the order |
| order ↳ countryCode | ✓ | The country code of the user is required for Afterpay. |
| paymentMethod ↳ descriptor | ✓ | The descriptor of the payment method is required for Afterpay. |
Add Afterpay into your website or mobile app
Drop-in UI
Use our customizable drop-in UI to quickly add payment methods to your checkout.
Headless Checkout
Have the freedom to build your own UI using our headless checkout.