Afterpay and Clearpay Workflow
This workflow describes the sequence of events that comprise a successful Afterpay
and Clearpay payment.
Figure:
Workflow
- The customer begins to checkout on the merchant site.
- The merchant sends a session API request. See Create a Session.
- Cybersourcereturns a redirect Afterpay or Clearpay URL to the merchant and a token.
- The merchant redirects the customer to the unique Afterpay or Clearpay URL for the customer to complete the payment.
- The customer logs into their Afterpay or Clearpay account and completes the checkout. The customer is then redirected back to the merchant site.
- The merchant sends an authorization API request with the token from the session response. See Authorizations.
- Cybersourcereturns anAUTHORIZEDresponse.
- The merchant sends a capture API request to complete the payment. See Captures.
- Cybersourcereturns aSETTLEDresponse.