Skip to content
Last updated

About the role of gateways

Gateways, processors, and acquirers

Three entities sit between a merchant and the card networks. Each has a specific responsibility in the transaction flow.

image

EntityResponsibilityExample
Payment gatewayAccepts payment data from the merchant, encrypts it, routes it to a processor, and returns the responseReefpay
Payment processorCommunicates with card networks and banks to authorize and settle transactionsTSYS, Vericheck
Acquiring bankHolds the merchant's bank account and receives settled funds from card networksBank of America, Wells Fargo

What a payment gateway does

A payment gateway is the merchant-facing layer in the payment stack. It provides the API that your application calls to create transactions, store payment methods, and manage settlements.

Core functions

  • Data collection: Accepts card numbers, bank account details, or payment tokens from the merchant's checkout.
  • Encryption: Protects sensitive data with encryption (AES-256 CBC in the case of Reefpay) before transmitting it to the processor.
  • Routing: Determines which processor to send the transaction to based on the payment method type. Reefpay routes card transactions to TSYS and ACH transactions to Vericheck.
  • Response normalization: Translates processor-specific response codes into a standardized format so your application handles all processors the same way.
  • Tokenization: Stores payment credentials securely and returns a token that can be used in future transactions, reducing Payment Card Industry Data Security Standard (PCI-DSS) scope.
  • Reporting: Provides transaction history, batch details, and settlement data through API endpoints.

What a gateway does not do

A gateway does not hold funds, issue cards, or maintain bank accounts. It is a software intermediary — it moves data, not money.

What a payment processor does

A payment processor handles the communication between the gateway and the financial institutions that move money.

Core functions in a payment processor

  • Authorization: Forwards the transaction to the card network (for card payments) or ACH network (for bank transfers) and returns the approval or decline.
  • Clearing: Submits finalized transaction data for settlement at the end of the business day.
  • Settlement: Coordinates the actual transfer of funds from the issuing bank to the acquiring bank.

Processor types

Processor typeDescriptionReefpay example
Card processorHandles credit and debit card transactions through card networksTSYS
ACH processorHandles bank account debits and credits through the ACH networkVericheck

A single gateway can connect to multiple processors. Reefpay automatically routes to the correct processor based on the payment_method.type in the transaction request.

What an acquiring bank does

The acquiring bank (also called the merchant bank) is the financial institution that holds the merchant's account. After settlement, the acquiring bank receives funds from the card network and deposits them into the merchant's account.

Merchants establish a relationship with an acquiring bank when they set up their payment processing. The acquiring bank sets the terms for deposits, fees, and chargebacks.

How they work together

The following sequence shows how all three entities interact during a card sale.

image

  1. Authorization happens in real time (milliseconds). The gateway sends the transaction through the processor and card network to the issuing bank, which approves or declines.
  2. Settlement happens in batches, typically at the end of the business day. The processor submits cleared transactions to the card network, which coordinates the movement of funds from the issuing bank to the acquiring bank.

How Reefpay fits in

Reefpay is a payment gateway that abstracts the processor and network layers behind a single REST API.

CapabilityHow Reefpay handles it
Card paymentsRoutes to TSYS automatically when payment_method.type is card
ACH paymentsRoutes to Vericheck automatically when payment_method.type is bank_account
EncryptionAES-256 CBC encryption for sensitive payloads
TokenizationStores payment methods via /v1/payment_tokens
Batch settlementManages batches via /v1/batches
ReportingTransaction queries via GET /v1/transactions

As a developer, you interact only with theReefpay API. You do not need direct connections to TSYS, Vericheck, card networks, or banks.

Further reading