For AI agents: visit https://developers.health.afterpay.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
-
Merchant requests the authorisation token.
-
Merchant web screen presents the Afterpay pre-built UI for the PayPal
along with the Auth-token and payment details.
-
Afterpay pre-built UI for PayPal presented to customer
-
When the customer click on "PayPal" button, information is sent to Afterpay to call the PayPal API to finalise the payment transaction.
-
Merchant parent screen could have a listener to capture the response sent by
Afterpay.