Payments Interaction Diagram

Payment system names such as ApplePay, GooglePay, and SamsungPay will be referred to collectively as "AGS" for simplicity.

AGS Interaction Diagram

AGS Interaction Diagram


Payments Interaction Diagram

  1. Partner's shop presents available payment methods to the end user.
  2. The user selects one of the provided payment methods (AGS).
  3. Partner's shop sends payment method information to the system (see "Payment request" section).
  4. The system returns the payment form to the partner's shop for display (see "Payment request" section).
  5. Partner's shop displays the payment form to the end user.
  6. The user selects the source of funds (e.g., card, account) for payment.
  7. The system requests a payment token from the selected payment system (AGS).
  8. The payment system returns a payment token to the system.
  9. The system debits funds from the user's account.
  10. The system sends a payment result callback to the partner's shop (success/failure, see "Callback example" section).

Optional:
10.1. Partner's shop requests the transaction status from the system (see "Payment status request" section).

  1. Partner's shop redirects the user to url_success or url_fail depending on the transaction result.