Financial Solutions · Payments

Payment gateway development and banking integrations in Saudi Arabia: secure, reconciled, compliant

GoAgile builds payment gateways and connects payment providers, banks and ERPs for Saudi organisations: mada, cards, Apple Pay, STC Pay, SADAD and bank APIs, with tokenised, PCI DSS-aware architecture and reconciliation straight into your ledger.

  • Custom gateways and orchestration, or integrations with local and international providers
  • Bank connectivity: statements, bulk payments, open banking and ERP posting
  • Designed to SAMA expectations, PCI DSS v4.0.1 and 3-D Secure 2
E-payments share, 2025 (SAMA)
85%E-payments share, 2025 (SAMA)
Electronic transactions, 2025
14.6 bnElectronic transactions, 2025
PCI DSS version in force
v4.0.1PCI DSS version in force
Open banking release
PIS 2024Open banking release

What it is

What is a payment gateway, and what does building one involve?

A payment gateway is the system that securely captures a customer's payment details, checks and routes the transaction to the acquiring bank and card scheme, and returns an approval or decline to the merchant in seconds. In Saudi Arabia it has to support mada alongside international cards and wallets, handle 3-D Secure authentication, keep card data out of your systems through tokenisation, and reconcile every payment into your accounts.

Companies come to us for two different jobs. Integrating an existing gateway or bank is the fastest route for merchants, retailers and enterprises: the provider carries the card-data burden and we connect it to your checkout, ERP and ledger. Building your own gateway or orchestration layer makes sense for banks, fintechs, marketplaces and groups whose volumes and rules no off-the-shelf product fits.

Whether what you build needs a SAMA licence depends on what it does with money. A gateway that only provides technology sits outside the licensed payment services, while acquiring, aggregating merchants' funds, issuing wallets and open banking services are licensed activities. We design to the perimeter you choose and flag the questions for your counsel early.

Key facts

Integrate
Payment providers and gateways, bank APIs, ERP and e-commerce platforms
Build
Custom gateway or orchestration, merchant portal, settlement and reconciliation
Methods
mada, Visa, Mastercard, Apple Pay, STC Pay, SADAD and real-time bank transfers
Banks
Statements, bulk and payroll payments, open banking AIS and PIS
Security
Tokenisation, 3-D Secure 2, PCI DSS v4.0.1 scope reduction and fraud rules

Why now

Payments are the part of finance that cannot wait

Saudi Arabia is moving to digital payments faster than most markets, and the regulator keeps publishing new standards.

85%

of retail payments were electronic in 2025, up from 79% in 2024

SAMA

14.6 bn

electronic transactions in 2025, up from 12.6 billion in 2024

SAMA

Jul 2025

SAMA launched a new e-commerce payments interface for mada and international networks

As reported

Sep 2024

SAMA published the second release of its Open Banking Framework, covering payment initiation

SAMA

Sources: SAMA announcements and press coverage. Details of the e-commerce interface were still being finalised when reported; we follow SAMA's published specifications.

Architecture

How a payment flows through a gateway we build

Seven steps, usually under a few seconds, with every event recorded so finance can reconcile it afterwards.

  1. Customer

    Pays by mada, card, Apple Pay or STC Pay on web, app or POS.

  2. Checkout

    Hosted fields or an SDK, so card numbers never touch your servers.

  3. Gateway core

    Tokenises, runs 3-D Secure 2 and fraud rules, then routes the payment.

  4. Acquirer and schemes

    mada, Visa and Mastercard networks, with failover between acquirers.

  5. Issuing bank

    Approves or declines and returns the result in seconds.

  6. Settlement

    Funds and fee files arrive from the acquirer or provider.

  7. Ledger

    Payments, fees and refunds are matched and posted to your ERP.

  8. Principles

    Card data stays out of your systems.

    Failover across acquirers.

    Every event reconciled.

What we build and integrate

From a checkout button to the ledger entry

Seven workstreams. Most projects combine three or four.

A gateway built around your rules, not a vendor's

For banks, fintechs, marketplaces and groups, we design and build the gateway itself: merchant onboarding, APIs and SDKs, a tokenisation vault, routing and failover across acquirers, 3-D Secure 2, risk rules, settlement and back-office tools.

  • Merchant onboarding and multi-tenant accounts
  • REST APIs, SDKs and hosted payment pages
  • Tokenisation vault and network tokens
  • Smart routing and failover across acquirers
  • 3-D Secure 2 and configurable risk rules
  • Settlement, ledger and merchant reporting

What you get

Control over payment flows, cost and customer experience.

How we work

From requirement to live payments

Payments projects fail at the edges: licensing, certification and reconciliation. We deal with those first.

Start with a conversation
  1. Scope and licence check

    We agree what you need to build or integrate, the volumes and methods, and check the design against the SAMA licence perimeter and your acquirer's rules.

  2. Design

    Architecture, data flows, security model, PCI DSS scope and reconciliation design, with the provider or bank specifications in hand.

  3. Build

    Gateway components or integrations, with idempotent APIs, retry logic, logging and a back office for support and finance.

  4. Certify and test

    Provider and bank UAT, 3-D Secure and scheme test cases, security testing and finance sign-off on reconciliation.

  5. Go live

    A phased launch with limits, monitoring and a rollback plan, then ramp up volumes.

  6. Operate

    Monitoring options, support, reporting and continuous improvement of approval rates and costs.

Reference

Build, integrate or buy, and what the regulator says

Three tables we use in the first workshop with every client.

Build, integrate or buy?

OptionBest forWhat you getWhat you carry
Integrate one providerMerchants, retailers and ERP usersA fast launch; the provider handles card data and most complianceProvider fees and dependence on one provider
Orchestrate several providersHigher volumes, marketplaces and groupsRouting, failover, cost control and one integration for many providersMore engineering and reconciliation across providers
Buy a gateway platform and customiseMid-size providers and enterprisesSpeed, with some control over rules and flowsLicence costs and vendor dependency
Build your own gatewayBanks, fintechs and large platformsFull control of rules, experience and economicsPCI DSS scope, licensing questions and 24/7 operations

Does it need a SAMA licence? A guide

What you are buildingTypical positionNotes
A gateway that links merchants to acquirers and provides technical support onlyA technical service, outside the licensed payment servicesStill subject to acquirer, scheme and security requirements
Merchant acquiring: settling funds to merchantsA licensed payment service (payee transaction acquiring)Requires a SAMA licence
Payment aggregation or facilitationA licensed payment serviceRequires a SAMA licence
An e-wallet or stored valueA licensed activity (electronic money)Requires a SAMA licence as an e-money institution
Payment initiation or account information (open banking)Licensed payment servicesA licence, plus participation in SAMA's Open Banking Framework
Buy now, pay laterA licensed finance activityOffered through SAMA-licensed providers

A summary of SAMA's Implementing Regulations for the Law of Payments and Payment Services (June 2023). It is not legal advice: confirm your model with SAMA or your counsel.

Payment methods in Saudi Arabia

MethodWhat it isGood to know
madaSaudi Arabia's national debit card scheme, operated under SAMAThe default for Saudi cardholders, for e-commerce and POS
Visa and MastercardInternational credit and debit cardsUse 3-D Secure 2 for online payments
Apple PayA wallet that works with mada and international cardsNeeds domain verification and merchant set-up
STC PayA digital walletOffered alongside cards at checkout
SADADThe national bill presentment and payment systemUsed for bills and recurring obligations
SARIESAMA's real-time interbank payment systemBank transfers through participating banks

Built for Saudi Arabia and the GCC

Payments built to what SAMA expects

The Saudi payments rulebook has changed quickly. We keep projects aligned to the version in force.

  • SAMA

    Law of Payments and Payment Services

    Licensing and conduct rules for payment services under SAMA's Implementing Regulations (June 2023). We scope your design against the licence perimeter before you build.

  • Open banking

    Open Banking Framework

    Account information from the first release (2022) and payment initiation from the second release (September 2024), with testing in SAMA's Open Banking Lab.

  • E-commerce

    The e-commerce payments interface

    SAMA's July 2025 interface moves e-commerce integration towards common specifications for mada and international networks. We follow the published requirements as they are finalised.

  • PCI DSS

    PCI DSS v4.0.1

    The only valid PCI DSS version since 31 December 2024, with the future-dated requirements mandatory from 31 March 2025. Architectures that keep card data out of scope are cheaper to certify.

  • Cyber security

    SAMA Cyber Security Framework and NCA

    Financial institutions in the Kingdom work to SAMA's cyber security framework and the NCA's controls. We design logging, access and resilience to match.

  • PDPL

    Data residency and PDPL

    Payment and customer data are personal data. We design storage, retention and transfers to meet the PDPL and your sector's residency rules.

Where we deliver

Riyadh · Jeddah · Dammam & Al Khobar · Madinah · the Eastern Province · Dubai & the UAE · Qatar · Kuwait · Bahrain · Oman

Clients

Banks and regulated organisations that trust GoAgile

A selection of the financial institutions and public bodies we deliver for in Saudi Arabia.

  • Al Rajhi Bank
    Financial AI reporting
  • GIB
    Banking client, Saudi Arabia
  • Saudi Credit Bureau (SIMAH) logo
    Saudi Credit Bureau (SIMAH)ZATCA Phase 2 e-invoicing

Why GoAgile

Why teams build payments with GoAgile

Payments have no quiet hours. These are the habits that keep money moving and books balanced.

We build and we integrate

Custom gateways and orchestration for platforms that need control; integrations for teams that need speed. We tell you honestly which you need.

Bank and ERP experience

Statement formats, payment files, reconciliation rules and ERP posting are everyday work for us, not edge cases.

Security from the first design

Tokenisation, 3-D Secure 2, PCI DSS v4.0.1 scope reduction and fraud rules are designed in, not added later.

Licence-aware design

We map what you build against SAMA's licensed payment services early, so a surprise does not arrive after launch.

Reconciled by design

Every payment, fee, refund and chargeback is matched and posted, with an exceptions queue instead of spreadsheets.

Saudi first, GCC ready

mada, SADAD, SARIE and Arabic experiences, with multi-currency and regional providers for the wider GCC.

Planning a gateway, a provider switch or a bank integration?

Tell us what you accept, how much, and where it needs to land in your books. We will propose build, integrate or buy with the trade-offs written down.

Plan a payments project

Questions answered

Payment Gateway & Banking Integration FAQs

Can you build a custom payment gateway?

Yes. We design and build gateways and orchestration layers for banks, fintechs, marketplaces and large merchants: onboarding, APIs, tokenisation, routing, 3-D Secure, risk rules, settlement and back-office tools. We also tell you when integrating an existing provider is the better choice.

Do I need a SAMA licence to run a payment gateway?

It depends on what the gateway does. SAMA's Implementing Regulations for the Law of Payments and Payment Services exclude services provided by technical service providers, but treat merchant acquiring, payment aggregation, e-money, payment initiation and account information as licensed activities. If you hold or settle merchants' funds, expect to need a licence. Confirm your model with SAMA or your counsel before you build.

Which payment methods can you integrate in Saudi Arabia?

mada, Visa, Mastercard, Apple Pay, STC Pay, SADAD and real-time bank transfers over SARIE through your bank, plus buy now, pay later through SAMA-licensed providers. We implement each with the right authentication, settlement and refund behaviour.

How long does a payment gateway integration take?

A standard hosted checkout with one provider can be live in days to a few weeks, once your merchant account and credentials are ready. Custom gateways, bank integrations and multi-provider routing take longer, and we give a plan after scoping.

What is PCI DSS and how do you reduce our scope?

PCI DSS is the card industry's security standard for anyone who stores, processes or transmits card data. We use hosted fields, redirects and tokenisation so card numbers never touch your servers, which keeps most merchants at the lightest self-assessment level. PCI DSS v4.0.1 has been the only valid version since 31 December 2024, and its future-dated requirements became mandatory on 31 March 2025.

What is open banking in Saudi Arabia?

Open banking lets customers share account data or start payments from licensed third-party apps, with their consent. SAMA published its Open Banking Framework in November 2022, starting with account information services, and issued a second release for payment initiation services on 2 September 2024. SAMA's Open Banking Lab is the testing environment.

How do you connect our ERP to our bank?

Through host-to-host, SFTP or API connections, depending on what the bank offers. We import statements in the bank's format, match them to open items with reconciliation rules, and send supplier and payroll payment files with approval workflows and an audit trail.

Can payments be reconciled automatically?

Yes. We match settlement files, fees, refunds and chargebacks to orders and invoices and post the results to the ledger. Only the genuine exceptions land in a review queue.

What is SAMA's e-commerce payments interface?

In July 2025 SAMA launched a new e-commerce payments interface that lets e-commerce providers integrate with both the national mada system and international payment networks through common technical specifications, with a central registration service and tokenisation. Supporting rules were still being finalised when it was announced, so we follow SAMA's published requirements for each project.

How do you prevent fraud and chargebacks?

With layers: 3-D Secure 2 authentication, tokenisation, velocity and amount rules, device and behaviour signals, monitoring and alerts, and clear dispute workflows. We tune the rules to your customers so protection does not cost you good sales.

Talk to a payments specialist

Tell us what you accept, your volumes and your bank or provider. We will respond with a scoped approach.

Why GoAgile for payments?

Engineers who build gateways and connect banks and ERPs every day.

  • Gateway development and provider integration
  • Bank and ERP connectivity with reconciliation
  • PCI DSS v4.0.1-aware, licence-aware design
  • Support after go-live

+966 53 534 5103
contact@goagiletechnologies.com

By providing your contact information and clicking ‘submit’, you authorize GoAgile Technologies to store your contact details and reach out regarding your enquiry.