Skip to main content

Payments via bank card

You can accept payments by Visa, Mastercard, or Mir cards.

Card payment scenario

  1. You create a payment session that is separate from the actual payment (session/create) or a single combined session (session/init/payment).

At this point, you can connect the payment form widget.

  1. If you are not using the widget and have created the session separately from the start of the payment, you then need to send a session/start/payment request.
  2. Bank 131 sends you a ready_to_confirm webhook, which means that the Bank is ready to make the payment and is waiting for your confirmation.
  3. You confirm (confirm_request) or cancel (cancel_request).
  4. Bank 131 sends you an action_required webhook. Redirect the user to the address for 3-D Secure.

    If you are using our widget and receive an action_required webhook, just send the 200 HTTP code in response, while the customer will be redirected by us.

  5. Bank 131 sends you a payment_finished webhook containing the result of the payment. If the status is succeeded, this tells you that the payment was successful.

Card payment diagram

This diagram shows the payment stages after the session was initiated and the payment created.

Card payment diagram