marcella

In plain words · payments

How a card payment works

Between “Pay” and “Paid” there are nine steps and four participants. The diagram plays them by itself; drag the scale below it, and turn the layout with a mouse or a finger.

In short

When you press “Pay”, the shop passes the order to a payment service, which asks the bank that issued the card through the card network (Mir, Visa, Mastercard). The bank checks the balance and the 3-D Secure code and authorises the charge. The answer comes back the same way within seconds; the shop receives the money itself later.

Marcella, web and bot developer · updated 17 November 2026

Step 01 / 09

Order

You press “Pay”. The shop’s site saves the order: what you bought and what it costs — 4,800 ₽.

Technically: the order gets a number and the status “awaiting payment”.

Glossary · tap a word and the diagram will show it

Try it for real: in the Hamilton demo shop, pay with card 5555 5555 5555 4477 and you will see steps 3–9 with your own eyes. No money moves: the shop runs in test mode.

In short

Paying by card online is a short conversation between four parties: you, the shop, a payment service and the bank that issued your card. The payment service — ЮKassa, CloudPayments or Prodamus, for example — accepts cards on the shop’s behalf. Between “Pay” and “Paid” there are usually only a few seconds.

The shop never sees your card details. You type them on the payment service’s page, and the service stores and passes them under the PCI DSS security standard. The shop only gets the result: paid or not.

The bank checks that it is really you: it sends a code by text or asks you to confirm in its app. This check is called 3-D Secure. Then the bank blocks the amount on the card — a hold. The money is finally taken later, and if the order is cancelled the hold is released.

To take payments on a website, a shop needs a contract with a payment service and an online cash register: Russian law 54-FZ requires a receipt for the buyer. The service charges a fee on each payment depending on the plan. QR payments via SBP are connected separately — they go from a bank account, without a card.

Questions and answers

Does the shop see my card number?
No. You type the number, expiry date and CVC on the payment service’s page. The shop only gets the payment status and sometimes a mask like •••• 1234, which cannot be used to pay.
What is 3-D Secure?
The bank checking that the card is in your hands: a code by text, a push or a confirmation in the bank’s app. The code page is shown by the bank, not the shop, and only the bank sees the code.
Why was the money blocked but not taken?
That is a hold: the bank blocks the amount until the shop confirms the charge. Usually the money is taken within a few days. If the order is cancelled, the hold is released and the amount is available again.
How long does a payment take?
A few seconds from “Pay” to “Paid”. Even if you close the tab before getting back to the site, the shop learns about the payment: the payment service sends it a notification — a webhook.
Why did my payment fail?
Most often there was not enough money, the code was mistyped, the card has a limit or a ban on online purchases, or the bank found the payment suspicious. If the bank declines, no money is taken.
What is internet acquiring?
A service that lets a website accept cards. It is provided by an acquiring bank, and shops usually connect it through a payment service: it is faster and they do not have to store card data themselves.
How is a card payment different from SBP?
A card payment goes through a card network such as Mir, with a 3-D Secure check. With SBP the money leaves your bank account directly: you scan a QR code or follow a link into your bank’s app. More on the SBP page.
How do I add card payments to a website?
Sign a contract with a payment service, connect an online cash register for receipts, embed the payment form and set up payment status notifications. Before launch the whole path is checked with test cards.

I will add payments to your site

YooKassa, CloudPayments or Prodamus — with every step checked on test cards.