Payment Flows

1. Immediate payment with card details

  1. Merchant requests the authorisation token for the web card user.
  2. Merchant web screen presents the Afterpay pre-built UI for the card capture along with the oauth-token and payment details.
  3. Afterpay pre-built UI presented to customer - a form to enter the cardholder name, card number, CCV, Expiry date etc.
  4. When the customer enters all details and submit the form, this information is sent to Afterpay to proceed the payment.
  5. Merchant parent screen could have a listener to capture the response sent by Afterpay.
551

2. Store cards and make a payment later

📘

Customers' payment tokens could be stored and Merchant backend system could request for reserve-capture funds or request payment(immediate capture) with the stored tokens

  1. Merchant requests the authorisation token for the web card user.
  2. Merchant web screen presents the Afterpay pre-built UI for the card capture along with the details such as Auth token for the card user, request-id, risk packet and requestor
  3. Afterpay pre-built UI presented to customer - a form to enter the cardholder name, card number, CCV, Expiry date etc
  4. When the customer enters all details and submit the form, this information is sent to Afterpay to proceed with the storage and card verification and Afterpay returns the card verification response which has the status and transaction Id.
  5. Merchant parent screen could have a listener to capture the response sent by Afterpay
  6. Merchant could request the payment token details in the backend.
  7. The payment token returned to merchant could be used for Reserve funds/Capture request or Request payment(immediate capture) by merchants.
551