How it works

Yandex Pay provides libraries that enable you to install a Yandex Pay payment button to your payment form and start accepting payments from users.

scheme

The scheme is designed for:

Interaction scheme

Payment workflow:

  1. The user clicks the Yandex Pay button on your site or in the mobile app.
  2. The user sees the Yandex Pay payment form with the details of the order, user cards, and order confirmation button.
  3. The user selects a card from the list (or leaves the default card), then clicks the order confirmation button.
  4. Yandex Pay creates a payment token (PaymentToken) for this order and passes it to your frontend.
  5. The frontend of your site sends the token with the payment information to the backend.
  6. The backend of your site transmits the payment token to the payment service provider.

ПокупательПокупательПлатежная страницаПлатежная страницаФорма Yandex PayФорма Yandex PayБэкенд Yandex PayБэкенд Yandex PayБэкенд магазинаБэкенд магазинаПлатежный шлюзПлатежный шлюз1. Клик по кнопке Yandex Pay2. Сумма к оплатеОтрисовка формы3. Клик по кнопке ОплатитьЗапрос платежного токена4. Платежный токенФорма закрывается5. Платежный токен6. Оплата по платежному токенуСтатус оплаты

The payment token stores the following information in an encrypted format:

  • Payment method.
  • Store ID.
  • Order currency and amount.
  • IDs for fraud monitoring.

Only a payment service provider that passed the audit from PCI DSS and Yandex Pay can decrypt the payment token.

If you want to add Yandex Pay to your site or mobile app, follow the connection procedure.