×
Al Baraka
Technical session · Al Baraka Bank Syria

How SmartPOS connects to Al Baraka's switch.

December 2026

2
Payment flow · What the merchant sees

A sale takes five steps on the phone, and your switch comes in at step four

Reader connected
SYP0SYP5SYP5,000
+ Add invoice number
1234567890000
ChargeCharge SYP 5Charge SYP 5,000
Bab Touma Pharmacy
SYP 5,000
Swipe, insert or tapReading the card…
Tap
Insert
Swipe
Al Baraka
Cancel
Customer PIN
SYP 5,000
Al Baraka debit •••• 4321
1234567890
Cancel
Enter
Sent to Al Baraka
Phone
HawaPay
Al Baraka
Al Baraka
Bab Touma Pharmacy
SYP 5,000
AL BARAKA DEBIT
Processing…
Paid
SYP 5,000
Bab Touma Pharmacy
Al Baraka •••• 4321 · PIN
Al Baraka Bank Syria debit card
The HawaPay card reader
1 · Enter the amount2 · Present the card3 · Customer enters PIN4 · Sent to Al Baraka5 · Paid
3
Payment flow · System overview

SmartPOS has four parts, and the card stays encrypted from the reader to your switch

Reader

Card reader

Tap, chip and swipe

Encrypts the card under its DUKPT key before the data leaves the device.

Bluetooth LE
or USB
Phone

HawaPay app

Android 8 and later

Runs the EMV exchange with the reader. Sees a masked card number, never the full one.

HTTPS,
JSON API
HawaPay

Backend

NestJS, PostgreSQL

Checks the terminal and the person, records the sale and passes the encrypted data on.

Private
link
Al Baraka

Card switch

With your HSM

Decrypts the card, authorises Al Baraka cards and sends other cards to their bank.

Card
networks
Issuer

Issuing bank

 

Approves or declines the payment.

4
Payment flow · One sale

A sale reaches your switch as one request, and HawaPay never opens the card data

Al Baraka
Card reader
HawaPay app
HawaPay backend
Al Baraka switch
Card issuer
1 · Card read and encrypted
2 · Encrypted data, HTTPS
3 · Payment request
4 · Authorisation request
5 · Approve or decline
6 · Switch response
7 · Answer with issuer data
8 · Card confirms the result
5
Payment flow · Your switch

We connect to whatever interface your switch offers, and these are the six operations we need from it

Your interface

We build to your specification

ISO 8583, any versionREST or JSON APIHost-to-host linkYour SDK

Send us the specification, the field definitions and a test host, and we write the adapter on our side.

01

Sale

Authorise a card payment.

02

Reversal

Cancel a sale after a void or a lost reply.

03

Refund

Return money to the card that paid.

04

Status inquiry

Find out what happened to a sale that got no answer.

05

Batch total

Your total for a terminal's open batch.

06

Batch close

Close the terminal's day so you can settle it.

6
Security · Card data

The reader encrypts the card, and HawaPay keeps only the first six and last four digits

Encrypts

Card reader

Reads4111 1111 1111 1111
Sends8F3A 61C2 0D9E B47F…

Encrypts the card under its DUKPT key before the data leaves the device.

Encrypted

Phone

Holds8F3A 61C2 0D9E B47F…
Shows•••• •••• •••• 1111

Passes the encrypted data on. The merchant sees only a masked number.

Encrypted

HawaPay backend

Forwards8F3A 61C2 0D9E B47F…
Keeps411111 •••••• 1111

Forwards the data unopened, and keeps only the first six and last four digits.

Decrypts

Al Baraka switch

Receives8F3A 61C2 0D9E B47F…
Decrypts4111 1111 1111 1111

The only place the card is decrypted, inside your HSM.

7
Security · Cardholder PIN

Local cards need an online PIN, and a certified component has to capture it

Customer PIN
SYP 5,000
Al Baraka debit •••• 4321
1234567890
Cancel
Enter
Card reader
Option 1

PIN on glass

A PCI MPoC certified component draws the PIN pad on the phone and encrypts the PIN. The merchant carries only the phone and the reader.

Enter PIN SYP 5,000 F1F2F⏻1QZ2ABC3DEF4GHI5JKL6MNO7PRS8TUV9WXY*0#✕←✓
Option 2

PIN on the reader

A PCI PTS approved reader takes the PIN on its own keypad and encrypts it in hardware. The phone never sees it.

8
Operations · Our proposal

We propose hosting SmartPOS in Syria on HawaPay's infrastructure, at two sites, with your data kept apart

Al Baraka

Your switch and HSM

We reach it only over the private link, with IP allow-listing on both sides.

VPN or leased line
Primary site · Syria

Commercial data centre

Three nodes. Three PostgreSQL instances replicate synchronously, so losing a node loses no data.

Replication and backups
DR site · Syria

Second data centre

In another city where possible. We fail over to it if the primary site is lost.

Your own database

Merchants you acquire live in a separate database, never mixed with other banks' merchants.

Your own encryption key

The key for that database can live in your HSM, so nobody can read the data without you.

Card keys stay with you

Readers keyed under your base key. HawaPay holds no card keys and runs no HSM.

9
Operations · Proposed hosting

Everything runs in Syria, and Al Baraka's data sits in its own database

SYRIA · ALL DATA STAYS INSIDEPRIMARY SITESyrian data centre · three nodesPanelsAdmin and merchantBank portal, read-onlyMonitoringLogs stay in SyriaSmartPOS backendPasses card data unopenedPostgreSQLThree instances, synchronousAl Baraka's databaseIts key can live in your HSMOther banksEach with its own database and keyStreaming replication and backupsDR SITESecond Syrian data centreDatabase replicaBackups, 30 daysStandby clusterIN THE FIELDSmartPOS terminalPhone and card readerCard encrypted on the readerMerchant managersMerchant panelHawaPay engineersNamed staff, auditedVPN only. No public SSHor cluster API.AL BARAKASOC / SIEMReceives our audit logCard switch and HSMOver the private linkOnly place the card is decryptedOther banksOwn adapter, own databaseEncrypted card data · HTTPSCard data, encryptedHTTPSPrivate link or VPN
10
Next steps · What we need

Six inputs from Al Baraka's technical team let us start the build

01

Interface specification

Your interface specification, message set and field definitions, including how EMV data is carried.

02

Secure connection

A site-to-site VPN or leased line to the switch, with IP allow-listing.

03

Test environment

A test host or simulator, with test cards for approvals, declines, PIN and timeouts.

04

Keys and PIN

The key hierarchy for readers, the key exchange process and your PIN block format.

05

Terminal parameters

How you issue merchant and terminal IDs, and the AIDs, CA public keys and limits each reader must carry.

06

Reconciliation

End-of-day totals per terminal, and the format of your settlement and reconciliation files.

11
Next steps · Open questions

Questions for Al Baraka's technical team

01

Does your switch accept the reader's DUKPT-encrypted track and EMV data, or does it expect clear track data under a zone key?

02

When a reply times out, do you expect a reversal advice, a status inquiry, or both? How long after approval can a merchant void a sale?

03

Which PIN method will you approve for local cards, on the phone or on the reader?

04

Can you return totals per terminal for each batch, and settlement data we can show the merchant?

05

What does certifying a new terminal integration involve, and how long does it usually take?

06

Does hosting in Syria on HawaPay's infrastructure, with your data kept apart, meet your requirements? Which Syrian data centre do you already trust?

12
Appendix

Hosting in Syria

13
Appendix · Syrian data centres

The Syrian market is young, so we choose our sites after visits and written answers

ProviderWhat it isStatusOur view
Sham CloudCommercial cloud in Damascus: VMs, backup, securityLaunched around September 2026. Claims Tier III and 99.95% uptime, not audited.Primary site candidate
National Data CenterGovernment data centre at Dimas, Rif DimashqBuilt, according to government reports. Only small VPS sizes are listed.DR site candidate
MDC with CipherPlanned Tier III data centre and SOC for government and banksAgreement signed May 2026. Not yet operating.Long-term primary
Trust Data CenterListed facility in Baramkeh, DamascusFacility details not published.Colocation to visit
stc fibre and data centresFibre network and data centres with the Syrian Sovereign FundFuture capacity.Longer term
Research on 30 November 2026. No Syrian provider publishes Kubernetes, object storage or a certified Tier rating. Our stack runs on plain VMs or our own servers, so colocation is the fallback.14