Payments via bank card
You can accept payments by Visa, Mastercard, or MIR cards.
Card payment scenario
- 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.
- If you are not using the widget and have created the session separately from the start of the payment, you then need to send the
session/start/payment
request. - Bank 131 sends you the
ready_to_confirm
webhook, which means that the Bank is ready to make the payment and is waiting for your confirmation. - You confirm (
confirm_request
) or cancel (cancel_request
). - If you are making a payment without a payment form, Bank 131 sends you the webhook
action_required
. This means that you will need to take additional action to perform the payment. For instance, the user might need to go through 3-D Secure. - Redirect the user to the address for 3-D Secure.
- Bank 131 sends you the
payment_finished
webhook containing the result of the payment. If the status issucceeded
, this tells you that the payment was successful.