Skip to content
All questionsBasics

What is a payment gateway and what is it for?

A payment gateway is a technical intermediary that passes transaction data between the merchant site, banks and payment systems. It accepts the details, encrypts them, sends the charge request and returns the payment status to the store.

What the gateway does

  • Accepts card details on its own secure page, not the merchant site.
  • Runs the operation through anti-fraud and triggers 3-D Secure confirmation.
  • Returns the result to the store and sends a notification to its server.

How a payment runs through the gateway

  1. The store creates a payment with the amount, order number and receipt lines.
  2. The gateway returns the payment page address or opens the widget form.
  3. The buyer picks a method — card, SBP, SberPay or T-Pay — and enters the details on the gateway side.
  4. The gateway runs anti-fraud and 3-D Secure and sends the request to the bank.
  5. The bank answers, and the gateway updates the status and sends a webhook to the store.
  6. The cloud cash register issues the receipt, and the buyer returns to the store page.

The store sees only statuses and identifiers: the card number, expiry and CVC never pass through its server.

How it differs from an aggregator

  • The gateway is the technical part: the data channel and the processing of an operation.
  • The aggregator is the commercial one: the contract, the set of methods and settlement.
  • In practice one service usually provides both, so the words are often synonyms.

How it is arranged at MulenPay

MulenPay provides the gateway and everything around it: the payment page, the payment widget, a REST API with webhooks, modules for seven CMSs plus guides for 14 platforms, the cloud cash register and the dashboard; the settlements are carried out by licensed partner banks. The gateway is certified under PCI DSS 4.0.1, and every card transaction passes 3-D Secure and anti-fraud. The documentation is at docs.mulenpay.com.

Example: a store on its own engine integrates over the REST API. Its server creates a payment, receives a link to the payment page and redirects the buyer there. Seconds after the payment a paid webhook arrives, the handler verifies the signature and moves the order to picking. The developer never touched card data — only identifiers and statuses.

See the payment gateway page. How a payment aggregator differs from a bank is covered separately.

Payment gatewaySee how this works at MulenPay

More questions on this topic

Still have questions?

Write to us — we will answer and help you start accepting payments.

Let’s talk about your project

Setup, pricing or support — choose the way you prefer to get in touch.

Write to the team

Your name and one contact are enough. Add details if you wish.

How should we contact you?

By clicking the button you agree to the processing of personal data.

TelegramTelegram