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.
The scheme is designed for:
- Gateways and merchants with a direct connection.
- Merchants that selected the Button separate from the payment form connection option. This needs support on the payment gateway side and integration with the payment gateway API on the merchant's side.
Interaction scheme
Payment workflow:
- The user clicks the Yandex Pay button on your site or in the mobile app.
- The user sees the Yandex Pay payment form with the details of the order, user cards, and order confirmation button.
- The user selects a card from the list (or leaves the default card), then clicks the order confirmation button.
- Yandex Pay creates a payment token (
PaymentToken
) for this order and passes it to your frontend. - The frontend of your site sends the token with the payment information to the backend.
- The backend of your site transmits the payment token to the payment service provider.
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.