Consulting · Engineering architecture & implementation blueprint · 30 November 2026

Build the gateway.
Fix the access chain.

A specific implementation blueprint for a Trinidad and Tobago merchant gateway and payment-facilitation platform, alongside the legal, acquiring, settlement and market-access work required to make it usable.

This document supersedes the earlier HTML prototype as the architecture handoff. It preserves the previous research-platform requirements while separating them from the payment transaction system. The architecture is documented using all 12 arc42 sections.

Start with the architecture ↓Step-by-step delivery planOfficial arc42 template ↗
00 · Executive overview

Two systems. One reform programme. No false shortcuts.

The gateway is a commercial payment product. The OPRL website is a collaborative research and reform platform. They are separate deployments, separate data stores and separate security domains. The gateway must connect to an acquiring institution; it must not pretend to be the card network, issuer, settlement bank or FX dealer.

Existing routeFirst Citizens publicly offers e-commerce through an FAC-hosted payment page, TTD settlement and 3-D Secure.
First buildNon-custodial merchant API, hosted checkout, adapter, ledger, webhooks and reconciliation.
Hard gateSigned sponsor/processor agreement, sandbox certification, regulatory classification and settlement-flow approval.
Important research correction: Trinidad and Tobago does have online card-payment infrastructure. First Citizens' published service explicitly uses FAC and settles in TTD to a First Citizens account. The engineering objective is therefore not “invent a gateway”; it is build an independent merchant-facing platform and obtain the commercial, regulatory and scheme arrangements to access acquiring on workable terms. The public page does not prove FAC offers independent white-label or payment-facilitator contracting.
1 · Prove accessGet bank/FAC terms and test credentials.
2 · ClassifyObtain CBTT/legal perimeter decision.
3 · BuildGateway core and hosted checkout.
4 · CertifyPCI, scheme, acquirer and security gates.
5 · Pilot5–10 approved merchants; reconcile funds.
Gateway · System architecture

The payment product we are actually building

Our software owns merchant experience and payment orchestration. The contracted acquirer/processor owns the card-network connection and performs regulated acquiring/settlement functions as set out in the contract. The merchant's bank account receives settlement directly.

MerchantWeb · app · commerce Our platformAPI · checkout · ledger FAC / AcquirerProcessor · sponsor bank Card networks / issuerVisa / Mastercard / issuer Clearing & settlementAcquirer → merchant bank Merchant accountTTD / agreed FX currency Payment data / status pathMoney path: acquirer settlement to merchant account. Gateway records and reconciles; it does not pool or hold merchant proceeds in MVP.
Build

Merchant-facing layer

Merchant onboarding workflow, hosted checkout, payment links, API, subscriptions (later), dashboard, transaction search, refunds, disputes, webhooks and reconciliation.

Contract

Acquiring layer

Master/sub-merchant model, acquirer API, scheme registration, 3DS, merchant underwriting, fee schedule, settlement currencies, chargeback allocation and reserves.

OPRL · Separate platform

Collaborative research, evidence and reform platform

This is not the gateway. It is the public workspace for collecting merchant experiences, researching laws and institutions, tracking reforms, and managing contributor review.

BrowsersPublic / contributor / admin Cloudflare PagesPublic UI / contributor UI Workers APIAuth · RBAC · validation D1Contributions / reform metadata Private R2Identity docs / evidence files Access / TurnstileAdmin protection / bot friction
Preserved user decisions: accept national ID and passport; identity is privately verified by administrators; credential issuers/employers verify credentials where feasible; specialist reviewers assess expertise and contributions; public identity is the contributor's choice; unverified people may still contribute. Identity documents are never public.
01
arc42 · Section 01

Introduction & goals

Requirements, stakeholders and quality goals · Official arc42 guidance ↗

1.1 System purpose

OPRL is a collaborative evidence and delivery programme. It has two distinct software systems: (A) the merchant payment platform, and (B) the OPRL research, contributor and reform platform. They share evidence and governance, not payment credentials or customer-fund flows.

1.2 Functional goals

  • Enable eligible T&T merchants to accept card-not-present payments through a contracted acquirer/processor.
  • Give merchants hosted checkout, payment links, API access, transaction status, refunds, disputes and reconciliation.
  • Keep acquiring and settlement with the licensed/contracted partner in the initial release.
  • Maintain a public, evidence-led reform register and open contributor workflow.

1.3 Priority quality goals

PriorityGoalAcceptance evidence
1Financial correctnessEvery capture/refund/fee/settlement event traceable; balanced journal; daily reconciliation.
2Security and card-data minimisationNo PAN/CVV in OPRL systems; secrets managed; security testing and partner sign-off.
3Resilience and recoverabilityProvider timeout/duplicate/retry scenarios tested; recoverable event log and database backups.
4Merchant portabilityProvider adapter boundary; merchant and transaction records exportable.
5AuditabilityEvery privileged action, funds-flow decision and compliance approval has actor, time, reason and evidence.

Stakeholders

Merchants/exporters; cardholders; acquiring banks and processors; FAC; Visa and Mastercard; CBTT; authorised-dealer banks; FIUTT and tax authorities where relevant; engineering, operations, compliance, legal counsel and OPRL contributors.

02
arc42 · Section 02

Architecture constraints

Legal, contractual, technical and organisational boundaries · Official arc42 guidance ↗

  • Regulatory perimeter: CBTT states PSP registration is required under Central Bank Act s.36(cc) and PSP Guideline No.3. Obtain written classification for the actual activities and funds flow before live operation.
  • Acquiring: software does not create scheme access. A sponsor acquirer/processor contract and the relevant Visa/Mastercard registrations/classifications are required where applicable.
  • No custody in MVP: merchant proceeds settle from the acquirer to the merchant account. The platform does not pool, store, lend, convert or remit customer funds.
  • PCI: use a processor/acquirer-hosted redirect for v1. Never receive or store PAN/CVV. PCI scope and SAQ eligibility are determined with the acquirer/QSA; redirect/iframe choices do not automatically guarantee SAQ A.
  • FX: domestic TTD purchases and foreign-customer export receipts are modelled separately. Currency, account, conversion and repatriation rights require written bank/legal confirmation.
  • Partner dependency: actual API schemas, certification cases, currencies, MCC eligibility, fees and settlement files are provider-specific and must not be fabricated.
  • OPRL platform privacy: ID/passport evidence is private; public identity is contributor choice; verification does not gate ordinary contribution.

Current CBTT register — what it tells us

CBTT's published list, dated as at 1 August 2026, includes registered PSPs such as Bill Express, PayWise, WiPay, Convenience Pay and VIA; it separately lists e-money issuers including PayWise, PESH, TSTT PAYPR, WIDiT and WAM. It lists Infolink as an interbank payment-system operator and states that no Non-Interbank Payment System Operators (NIPSOs) were registered at that date. These categories are not interchangeable: PSP registration does not itself prove a provider has card-scheme acquiring sponsorship, can onboard sub-merchants, or can settle foreign-currency export proceeds. The register is evidence of existing regulated payment businesses, not proof of an open acquiring market.

CBTT approved PSP/EMI/PSO register ↗

Legal status note: the CBTT November 2026 Financial Stability Report describes the Payment Systems and Services Bill and three supporting regulations as draft instruments consulted on in 2026. Re-check Gazette enactment and commencement before relying on them.

03
arc42 · Section 03

Context & scope

Systems, actors, interfaces and explicit exclusions · Official arc42 guidance ↗

System context: payment gateway

MerchantWeb / app / ERPOPRL GatewayAPI · checkout · ledgerAcquirer / FACSponsor + processorCard schemesVisa / MastercardIssuer bankCardholder's bankMerchant bankSettlement accountOut of scope: card scheme, issuer authorisation, bank settlement railsSettlement: acquirer → merchant bank/account; gateway records and reconciles, but does not hold funds.

External interfaces

External partyInterfaceContractual/technical dependency
Merchant systemsREST API, hosted checkout, signed webhooksMerchant credentials, permitted domains, order references
FAC / sponsor acquirerProvider adapter API, 3DS handoff, reportsSigned agreement, sandbox, certification, settlement schedule
Visa / MastercardIndirect via acquirer and registered service-provider rolesScheme rules, registration and sponsor classification
Merchant bankSettlement account and bank statementsAccount eligibility, currency and payout permissions
CBTT / other authoritiesApplications, supervisory reporting, legal determinationsRegulatory perimeter and current law

Out of scope for MVP

  • Card network or domestic scheme creation.
  • Deposit taking, wallet balances, stored value or customer-fund custody.
  • FX dealing or promise of USD retention without a documented lawful route.
  • Direct acquiring membership unless a later feasibility gate proves it viable.
04
arc42 · Section 04

Solution strategy

Decisions that shape the implementation · Official arc42 guidance ↗

  1. Start as a non-custodial merchant platform under a sponsor acquiring/processing partner. The acquirer settles directly to merchants.
  2. Partner-first integration: First Citizens/FAC is the first documented local route to investigate because First Citizens publicly states it uses an FAC-hosted payment page, 3-D Secure and TTD settlement to a First Citizens account. This is evidence of an existing product, not proof FAC offers white-label or independent payment-facilitator contracting.
  3. Hosted redirect first: minimise card-data exposure; add embedded hosted fields only after PCI and acquirer review.
  4. Modular monolith first: one deployable core with bounded modules and a durable queue/outbox; avoid premature microservices. Separate provider adapters and database schemas/modules by domain.
  5. PostgreSQL financial system of record: transactional constraints, append-only journal, provider event log and reconciliation. D1 is reserved for OPRL's collaboration platform metadata, not the payment ledger.
  6. Provider-neutral contracts: define internal PaymentProvider interface, then implement one adapter only after receiving the actual provider specification.
  7. Two parallel national routes: immediate commercial pilot plus local regulatory/reform work. Do not wait for legislative change to investigate existing lawful acquiring routes.

First commercial dependency: written sponsor/processor term sheet + sandbox access + confirmation of T&T merchant eligibility + exact funds-flow and settlement schedule.

05
arc42 · Section 05

Building block view

Component decomposition, interfaces, data ownership and APIs · Official arc42 guidance ↗

Level 1 — payment platform

Merchant channelsAPI · checkout · linksAPI / edge gatewayAuth · rate limit · validationPayment APIIntents · commandsOrchestratorRules · routingMerchant / KYBApplication · risk statusRisk & 3DSProvider-managed authProvider adaptersFAC / acquirer BLedger & eventsJournal · outboxReconciliationSettlement files · matchingWebhook deliveryRetry · signaturesMerchant portalReports · refunds · disputesAcquirer systemsAPI · settlement reportsCore financial records are in PostgreSQL. Provider raw payloads are stored redacted and access-controlled.

Module responsibilities

ModuleOwnsDoes not own
MerchantMerchant profile, status, pricing plan, acquirer merchant IDsBank KYC decision; funds
Payment APIPaymentIntent lifecycle and API contractCard network authorisation logic
OrchestratorProvider selection, retry policy, timeout resolutionUnilateral failover on ambiguous authorisation
Provider adapterTranslate internal commands/events to provider contractShared business state machine
LedgerImmutable double-entry journal and balance viewsCustody or bank balance
ReconciliationMatch provider settlement reports to captures/refunds/feesInitiating bank settlement
Webhook serviceSigned, retryable merchant event deliveryGuaranteeing merchant endpoint availability

Core API v1

POST /v1/payment-intents
GET  /v1/payment-intents/{id}
POST /v1/payment-intents/{id}/confirm
POST /v1/payment-intents/{id}/capture
POST /v1/payment-intents/{id}/cancel
POST /v1/refunds
GET  /v1/refunds/{id}
GET  /v1/transactions
GET  /v1/settlements
GET  /v1/disputes
POST /v1/webhook-endpoints

Required headers:
Authorization: Bearer <merchant_api_key>
Idempotency-Key: <unique-per-business-operation>
API-Version: 2026-01-01 (example; freeze before launch)

All amounts are integer minor units with ISO 4217 currency code. Never use floating-point arithmetic for money. Every request is scoped to merchant_id and authorised at object level.

PaymentIntent state model

requires_payment_method
  → requires_confirmation
  → requires_action (3DS)
  → processing
  → requires_capture (if manual capture)
  → succeeded

Alternative terminal/exception states:
failed · canceled · partially_refunded · refunded

Dispute is a separate lifecycle linked to the captured payment.
Settlement is a separate reconciliation lifecycle; do not equate succeeded with settled.

Minimum relational model

  • merchants, merchant_users, merchant_accounts, provider_accounts
  • payment_intents, payment_attempts, provider_transactions
  • refunds, disputes, chargeback_evidence
  • ledger_accounts, journal_entries, journal_lines (immutable; balanced per currency)
  • provider_events, webhook_endpoints, webhook_deliveries, outbox_events
  • settlement_batches, settlement_lines, reconciliation_exceptions
  • idempotency_records, audit_events, api_keys

Keep PAN/CVV out of this schema entirely. Store only provider tokens and non-sensitive card metadata explicitly permitted by the provider and PCI assessor.

06
arc42 · Section 06

Runtime view

Payment, 3DS, webhook, refund and settlement scenarios · Official arc42 guidance ↗

Scenario A — successful hosted checkout

  1. Merchant backend creates PaymentIntent with amount, currency, order reference and idempotency key.
  2. API validates merchant status, currency, amount limits and idempotency; persists intent.
  3. Checkout session is created with provider/acquirer; browser is redirected to provider-hosted payment page.
  4. Customer enters card data only on provider-hosted page; provider/acquirer performs 3DS where required.
  5. Provider returns browser to return URL. Treat this only as a UX return, not final payment proof.
  6. Provider sends server-to-server event; adapter verifies signature and deduplicates event ID.
  7. Payment state is updated transactionally; outbox event is written in the same DB transaction.
  8. Webhook worker delivers signed merchant event; retries with backoff until success or expiry policy.

Scenario B — timeout after authorisation request

Mark attempt unknown / pending_provider_resolution; query provider by merchant reference/idempotency key before retrying. Never automatically send the same financial instruction to a second acquirer when the first acquirer's result is ambiguous. Duplicate capture risk must be resolved explicitly.

Scenario C — settlement reconciliation

  1. Import signed/controlled provider settlement file.
  2. Validate file identity, date, currency, control totals and duplicate batch ID.
  3. Match each capture/refund/fee/reserve/payout line to provider transaction and internal journal.
  4. Record bank settlement reference and expected/actual value date.
  5. Raise exception for unmatched, short-paid, duplicate or currency-mismatched lines.
  6. Operations resolves exception with evidence and maker-checker approval; never silently overwrite ledger entries.

Scenario D — refund / chargeback

Refund creates a new linked financial event; it does not erase the capture. Partial refunds are cumulative and cannot exceed refundable captured amount. Chargeback has its own deadlines, evidence checklist, owner and outcome events.

Sequence diagram

MerchantGatewayHosted PSPAcquirerIssuerCreate intentCreate hosted sessionAuthorise + 3DSAuth requestDecisionProvider resultSigned eventMerchant webhookSettlement is a later acquirer → merchant-bank process and is reconciled separately.
07
arc42 · Section 07

Deployment view

Runtime topology, environments, network boundaries and operations · Official arc42 guidance ↗

Payment gateway deployment

Public edge / internet zoneCloudflare DNS/WAFDDoS · bot · TLSAPI ingressAuth · rate limitsCore app clusterContainer runtimeQueue workersOutbox · retriesPostgreSQLLedger · transactionsObject storageReports · evidencePartner endpointsmTLS / TLS · allowlistSeparate production / staging / development accounts, databases, keys and provider credentials. No live card data in non-production.

Environment separation

  • Local/dev: synthetic data, provider mocks, no production secrets.
  • Staging: partner sandbox credentials, synthetic merchants/cards, masked logs.
  • Production: isolated account/network, managed PostgreSQL HA, encrypted backups, KMS, alerting, restricted operator access.

Deployment recommendation

Cloudflare can front the merchant API and serve the public/dashboard UI. Run the financial core as a conventional containerised service on a managed compute platform with managed PostgreSQL and durable queue. The exact cloud vendor is a procurement decision; do not bind the ledger to Cloudflare D1. Use object storage for settlement files and audit exports, with encryption and retention policies.

OPRL research platform — separate deployment

Cloudflare Pages + Workers + D1 + private R2 + Turnstile + Access for internal admin. Durable Objects only if live collaboration/presence is needed. Identity-document objects are isolated from contribution evidence; upload URLs are short-lived; every access is audited. This platform is not in the payment transaction path.

08
arc42 · Section 08

Crosscutting concepts

Security, money, privacy, integration and operational patterns · Official arc42 guidance ↗

Money and ledger

  • Use integer minor units and ISO currency; no binary floating-point money.
  • Journal entries are append-only and balanced per currency. Corrections use compensating entries.
  • Separate payment status from settlement status and bank cash movement.
  • Store provider event IDs and deduplicate; preserve raw payload only where necessary, encrypted and redacted.
  • Use transactional outbox: commit business state and outbound event atomically, then deliver asynchronously.

Idempotency and retries

  • Idempotency key is unique per merchant + operation; persist request hash and result.
  • Reject same key with a different request body.
  • Retry transient network/5xx errors only under provider-specific rules.
  • For unknown authorisation/capture state, query provider before replay or failover.
  • Webhook deliveries use event ID, signature, timestamp tolerance and replay protection.

Security

  • Hosted redirect checkout; no PAN/CVV in gateway, logs, analytics, error reports or support tools.
  • Encrypt data in transit and at rest; KMS-managed keys; rotate provider secrets.
  • Per-merchant API keys, scopes, rotation and immediate revocation; operator MFA and least privilege.
  • Tenant isolation at every object lookup; server-side ownership checks; no trust in client merchant_id.
  • WAF/rate limits, bot mitigation, dependency scanning, SAST/DAST, threat model, penetration test.
  • PCI DSS v4.0.1 scope validated with acquirer/QSA. Embedded iframe and redirect have different SAQ conditions; SAQ A is not a blanket exemption.
  • Follow OWASP API Security Top 10 including BOLA, broken auth, property-level auth, resource exhaustion, SSRF and unsafe API consumption.

3-D Secure

Integrate through the acquirer/3DS Server/SDK arrangement. Do not implement EMV 3DS protocol cryptography or issuer challenge handling from scratch. Support frictionless and challenge outcomes, browser return, asynchronous result notification and authentication data in the provider's expected authorisation request.

Merchant risk and compliance

KYB and underwriting decision owned by contracted party as defined in agreement. Platform can collect evidence and run workflow but cannot imply that its own checklist replaces the acquirer's underwriting, sanctions screening, AML/CFT or ongoing monitoring.

OPRL contributor identity

Accept national ID or passport. Administrators verify identity; credential issuers/employers verify credentials where feasible; specialist reviewers assess contributions. Public identity is contributor choice. Open contributors can submit before verification. Store raw documents privately, segregate identity records, minimise retention and audit access.

09
arc42 · Section 09

Architecture decisions

Decision records with rationale, status and consequences · Official arc42 guidance ↗

IDDecisionStatusReason / consequence
ADR-001Non-custodial gateway/payment-facilitation candidate, sponsor acquirer settles directly to merchantConditionalFastest lawful path; subject to CBTT classification, acquirer contract and scheme rules.
ADR-002First local route investigated: First Citizens + FAC hosted gatewayInvestigatePublic product proves TTD e-commerce route exists; independent white-label/API commercial arrangement not yet evidenced.
ADR-003Hosted redirect payment page for v1RecommendedMinimises card-data exposure; acquirer/QSA determines PCI validation.
ADR-004PostgreSQL ledger and transactional outboxRecommendedStrong transaction integrity, auditability and durable event delivery.
ADR-005Modular monolith before microservicesRecommendedReduces distributed-systems complexity until volume/team boundaries justify splitting.
ADR-006Provider-neutral adapter contractRequiredPrevents lock-in; adapter implementation waits for real API specs.
ADR-007OPRL research platform separate from gatewayRequiredDifferent security, privacy and availability profiles; no identity docs or payment data shared by default.
ADR-008Do not create own card vault or networkRequiredUse validated provider tokenisation and card schemes/acquirer infrastructure.

Open decisions requiring evidence

  • Which sponsor acquirer offers a master/sub-merchant arrangement?
  • Does FAC offer white-label or API partner integration to an independent local platform?
  • Which provider accepts T&T incorporated exporters and pays into T&T accounts in which currencies?
  • Does the intended business model trigger PSP registration, PSO licensing or another permission?
  • What exact FX permission applies to offshore processor balances and foreign-currency retention?
10
arc42 · Section 10

Quality requirements

Measurable quality scenarios and acceptance criteria · Official arc42 guidance ↗

Quality scenarioTarget / testRelease gate
Duplicate create/capture requestSame idempotency key returns same result; no duplicate financial actionAutomated concurrency test
Provider timeout after submitAttempt marked unknown; query-before-retry; no blind second-acquirer failoverFault-injection test
Provider sends duplicate webhookOne state transition; duplicates acknowledged safelyReplay test
Settlement file has unmatched lineException raised; no silent adjustment; maker-checker resolutionReconciliation UAT
Merchant requests another tenant's payment403/404 with no data leakageBOLA security test
Cardholder checkoutRaw PAN/CVV never traverses gateway serversNetwork capture + code review
Database recoveryRestore from encrypted backup to documented RPO/RTOQuarterly restore exercise
Webhook endpoint unavailableBounded exponential retry, delivery status visible, manual replay controlledChaos test
Merchant payoutExpected net settlement reconciles to captured sales less refunds, fees, reserves and adjustmentsDaily financial control

Proposed initial SLOs (validate against partner contract)

  • Gateway API availability: 99.9% monthly excluding scheduled maintenance and upstream partner outages.
  • Internal API p95 latency: under 300 ms for non-provider operations.
  • Webhook dispatch: 95% of events attempted within 60 seconds of durable event creation.
  • Reconciliation: each received settlement file processed or explicitly quarantined within one business hour.
  • Recovery: proposed RPO 5 minutes and RTO 2 hours for core payment metadata/ledger; confirm based on cost and provider recovery requirements.

These are design targets, not current performance claims or commitments. Upstream authorisation time and bank settlement timing are contract-controlled.

11
arc42 · Section 11

Risks & technical debt

Known unknowns, external dependencies and mitigations · Official arc42 guidance ↗

Risk / unknownImpactMitigation / evidence needed
No acquirer contract / sandboxGateway cannot process live transactionsDo not build proprietary adapter until contract, API docs and credentials exist.
CBTT classification unclearUnlawful operation / delayed launchSubmit funds-flow diagram, contracts and activity matrix for written classification.
FX settlement route unavailableExporters cannot access/retain expected proceedsGet written authorised-dealer opinion for each currency/account/flow; separate export receipts from domestic FX demand.
Single acquirer concentrationService outage or commercial lock-inSecond adapter and portability after first certified integration.
Chargeback/fraud lossesMerchant or platform insolvencyDefine liability, reserves, fraud tooling, MCC restrictions and escalation contractually.
PCI scope misunderstoodCostly remediation / security breachHosted redirect; formal scope review with QSA/acquirer before design freeze.
Provider API differs from assumptionsReworkContract-first adapter implementation; contract tests using provider sandbox.
OPRL identity-document breachSevere privacy harmSeparate R2 bucket/account, short-lived URLs, encryption, audit, least privilege, retention and incident plan.
CAPSS mistaken for acquiringWrong architecture investmentObtain scheme rules, access model, merchant use-case and commercial terms before integration.

Technical debt policy

No temporary bypasses in money-state transitions, no floating-point amounts, no mutable ledger history, no shared production credentials, no manual database edits to repair payment state. Every exception is an audited compensating transaction.

12
arc42 · Section 12

Glossary

Precise payment terminology · Official arc42 guidance ↗

Gateway
Software that securely collects/routes payment instructions and responses. It is not automatically an acquirer or settlement bank.
Acquirer
Institution that contracts with the merchant (directly or through an approved model) and submits transactions into card networks.
Processor
Technology/service provider handling transaction processing for an acquirer or payment institution.
Payment facilitator
Service provider registered by an acquirer to facilitate transactions for sub-merchants under the scheme's rules.
Merchant of record
Entity legally presented as seller/merchant for the transaction and bearing defined seller obligations; not interchangeable with gateway.
Authorisation
Issuer approval/decline and possible hold; not settlement or final receipt of funds.
Capture
Instruction to complete a previously authorised transaction for clearing/settlement.
Clearing
Exchange and calculation of transaction obligations between participants.
Settlement
Discharge of financial obligations; merchant payout is a distinct downstream event.
3-D Secure
EMVCo protocol for cardholder authentication in e-commerce, with frictionless and challenge flows.
PCI DSS
Payment Card Industry Data Security Standard; scope depends on actual data flows and implementation.
KYB
Know Your Business due diligence on merchant legal identity, ownership, activity and risk.
CAPSS
CARICOM Payment and Settlement System; investigate its actual use cases and access model rather than assume it is a card-acquiring substitute.
OPRL
Open Payments Reform Lab, the collaborative research and reform initiative.
13
Execution plan

Build sequence and release gates

Ordered work packages; each phase has a testable exit condition.

Phase 0 — partner and legal proof (days 1–15; parallel)

  1. Send identical sponsor-acquirer RFI to First Citizens, Republic, RBC, Scotiabank and CIBC Caribbean; ask whether they will contract with a local gateway/payment facilitator and support a master/sub-merchant model.
  2. Approach FAC separately: ask for white-label/API partnership, merchant ownership, direct acquirer access, provider tokenisation, settlement reports, pricing, supported currencies and certification path.
  3. Ask CBTT for written pre-application classification using the precise activity matrix, contracts and funds-flow diagram.
  4. Obtain T&T legal opinion on Central Bank Act s.36(cc), PSP Guideline No.3, Financial Institutions Act custody/banking boundary, Exchange Control Act current amendments and all relevant directions.
  5. Do not commit to the production adapter until one partner provides a signed term sheet, sandbox and API documentation.

Phase 1 — gateway foundation (weeks 2–5)

  1. Repository, CI/CD, environment separation, secrets, audit and observability.
  2. Merchant and user model, RBAC, API keys, onboarding states.
  3. PaymentIntent, payment attempt, idempotency and provider event models.
  4. PostgreSQL ledger, transactional outbox, immutable audit events.
  5. Hosted checkout session integration and provider adapter skeleton.
  6. Merchant webhooks with signatures, retries and replay controls.

Phase 2 — provider integration and controls (weeks 4–8)

  1. Implement provider-specific adapter from supplied OpenAPI/WSDL/documentation.
  2. Implement 3DS handoff and asynchronous completion events.
  3. Import settlement and fee reports; implement daily reconciliation and exceptions.
  4. Refunds, reversals, chargebacks and evidence workflow.
  5. PCI scoping, threat model, penetration test, backup/restore and incident response exercise.
  6. Acquirer and scheme certification; production credentials only after written sign-off.

Phase 3 — controlled pilot (weeks 8–12+)

  1. Onboard five to ten approved merchants across digital services, education, SaaS, professional services and a low-risk retailer.
  2. Start with agreed MCCs, currency, caps and risk rules; no unsupported sectors.
  3. Reconcile every settlement to capture/refund/fee/reserve and merchant bank credit.
  4. Report authorisation rate, fraud, chargebacks, settlement delay, effective merchant cost, onboarding duration and support load.
  5. Only then add second acquirer and controlled routing.
Timeline is a delivery target only. Bank, regulator, scheme and PCI approval timelines are external dependencies and may extend it.

Release gates — no exceptions

  • G0: Written legal perimeter and funds-flow sign-off.
  • G1: Signed acquirer/processor agreement and merchant eligibility confirmation.
  • G2: Sandbox integration and certification passed.
  • G3: PCI responsibility matrix and applicable validation accepted.
  • G4: End-to-end settlement reconciliation proven in test and pilot.
  • G5: Production security, operations, disputes and incident response ready.
14
Commercial integration

Named counterparties and required agreements

Known public products are separated from unverified partnership assumptions.

1. First Citizens + FAC — first local route to investigate

First Citizens' public e-commerce page says its service uses an FAC gateway, a hosted payment page, 3-D Secure and TTD settlement; it requires a First Citizens account for collection. Its published application requirements include business plan/projections, company documents, director/secretary IDs, refund policy and fraud controls. This proves a live local e-commerce product exists. It does not prove that First Citizens or FAC will offer an independent platform a master merchant/facilitator contract or an API/white-label model.

First Citizens e-Commerce product page ↗

2. Approach the other acquirers for competitive terms

Republic Bank, RBC, Scotiabank and CIBC Caribbean: request the same technical and commercial schedules. Do not assume their products or API arrangements are equivalent. Ask each to identify the legal acquirer, processor, card-scheme sponsor, sub-merchant model and settlement bank.

3. FAC direct partnership questions

  • Can FAC contract with an independent T&T merchant platform under its own brand/API?
  • Can our platform own the merchant-facing relationship while FAC/acquirer underwrites and settles?
  • Is there a master merchant/payment-facilitator model, or is every merchant separately contracted?
  • Which local acquiring banks can be connected and can the platform select between them?
  • Are tokenisation, recurring payments, 3DS2, refunds, reversals, disputes and settlement files exposed by API?
  • What are the exact onboarding, certification, PCI, pricing, reserves, minimum-volume and termination terms?

4. Scheme registration

Visa describes third-party agents including gateways, processors and service providers; most require a Visa client sponsor, and Visa asks for sponsor, category, service description and PCI documents. Mastercard defines a payment facilitator as a service provider registered by an acquirer to facilitate transactions for sub-merchants. The sponsor bank must determine the correct classification and initiate the required registrations. Do not infer scheme approval from CBTT PSP registration.

Visa Third Party Agent registration ↗ · Mastercard Payment Facilitator rules overview ↗

5. CBTT application / pre-application

CBTT currently states PSPs are registered under Central Bank Act s.36(cc) and Payment Systems Guideline No.3. The application must reflect actual functions and funds flows. Gateway-only technical service, merchant facilitation, remittance, e-money and payment-system operation must not be conflated. Ask CBTT which categories apply before accepting live funds flows.

CBTT PSP registration page ↗ · CBTT payment-system landscape ↗

15
National reform programme

Specific reforms, owners and first deliverables

Preserved and sharpened from the prior engineering/research handoff.

ReformLeadFirst deliverableLegal / institutional lever
Digital export earnings permissionCBTT + Ministry of Finance + authorised dealersCurrent-law opinion; transaction-specific funds-flow map; published permission/exemption/direction or Act amendment if neededExchange Control Act Chap.79:50 ss.2,3,5,6; subsidiary instruments and directions. Current consolidation must be updated.
Activity-based payment-service categoriesCBTT + Ministry / ParliamentClause-by-clause gap table and revised text; distinguish technical gateway, initiation, merchant facilitation, acquiring, remittance, e-money and system operatorCentral Bank Act s.36(cc); PSP Guideline No.3; draft Payment Systems and Services Bill and three regulations; verify Gazette status.
CBTT classification serviceCBTTStandard funds-flow submission form, decision tree, complete-file checklist and proposed 10-business-day preliminary classification targetAdministrative procedure / PSP registration framework. Proposed target, not existing deadline.
Business KYB interoperabilityCompanies Registry + CBTT + banksConsent-based CROS verification API, reusable KYB pack, status tracking and rejection reason codesCompanies legislation, banking supervision, AML/CFT and data-protection rules.
CROS fast trackCompanies Registry / Ministry responsible for legal affairsDigital credentials, e-signatures, status tracking and published processing targetsCompanies legislation, registry rules and digital-government policy.
FX allocation transparencyCBTT + Finance + authorised dealersQuarterly anonymised data by sector/dealer, queue times, unmet demand, allocation methodology and exemptionsCBTT reporting powers, dealer reporting and Ministry policy.
Merchant settlement disclosuresCBTT + regulated providersStandard pre-contract disclosure: currencies, value dates, fees, FX spread, reserves, refunds, chargebacks, freezes and complaintsPSP/acquirer supervisory rules and licence conditions.
CAPSS merchant accessCBTT + CARICOM + participantsMerchant use-case/access study: merchant eligibility, PSP access, FX, fees, finality, reversals, disputes, API and launch pathRegional system rules and participating central-bank arrangements.
Competition / portabilityCBTT + competition authorities + banks/PSPsEvidence-based review of exclusivity, tying, access criteria, API interoperability, portability and terminationPayment services and competition framework; do not allege exclusion without contract evidence.

Critical FX distinction

Domestic TTD purchase routed through a foreign processor and overseas customer paying a T&T exporter are not the same underlying transaction. The National E-Commerce Strategy identifies domestic card transactions routed through international PSPs being treated as international transactions in some cases. Export receipt, offshore collection, local FX-account credit, retention, conversion and repatriation each require separate legal and bank analysis.

CAPSS boundary

CBTT's November 2026 report says CAPSS testing for instant cross-border payments without intermediaries was successful. That does not establish merchant acquiring, merchant/PSP access, card-not-present support or merchant dispute functionality. Assess its actual operating rules before designing an adapter.

16
Research frontier

Remaining evidence gaps to close before production

Questions that cannot be answered from public marketing pages alone.

Evidence gapWho holds itExact requestDecision unlocked
Acquirer commercial modelFirst Citizens, Republic, RBC, Scotiabank, CIBC CaribbeanCurrent merchant agreement, facilitator/agent agreement, fees, reserves, MCC matrix, onboarding criteria, settlement terms, termination clausesCan we operate an independent gateway/payment facilitator?
FAC technical integrationFACAPI docs, sandbox, tokenisation/3DS, settlement files, webhooks, certification, white-label terms, multi-acquirer supportWhich adapter and integration pattern to build?
Scheme categorySponsor acquirer, Visa, MastercardWritten TPA / payment-facilitator classification, registration steps, sponsor responsibilities, PCI evidenceWhich scheme registrations are mandatory?
Regulatory perimeterCBTT and local payments counselFunds-flow diagram, contracts, customer journey, role matrix and written classificationWhich local registration/licence applies?
Export FX permissionsAuthorised-dealer FX teams, CBTT, Ministry of Finance, counselWritten rule/section/direction for foreign acquirer payout, offshore balance, local USD account, retention, conversion and expensesCan exporter receive and use the agreed currency?
Current legislationCBTT, Ministry, Parliament, GazetteFinal Bill, all regulations, consultation submissions/response matrix, amendments, Gazette and commencementWhich framework is actually in force?
CAPSS designCBTT / CARICOMRulebook, participants, message/API specs, FX, settlement finality, access and use casesIs merchant payment integration technically and legally possible?
Merchant demand economicsExporters and merchantsMonthly volume, average ticket, card mix, MCC, failed-provider cases, FX needs, acceptable pricingIs first acquirer route commercially sustainable?

What the current register does not answer

The CBTT register confirms local PSP activity and identifies the legal registration categories. It does not publish each provider's acquiring bank, Visa/Mastercard registration, sub-merchant underwriting model, international-card acceptance scope, FX settlement permissions or API access. Those must be established from contracts and provider documentation. Do not treat a PSP list as an acquiring directory.

Research rules

  • Record source, date, author, scope, methodology, units, limitations and access classification for every dataset.
  • Separate documented fact, attributed testimony, inference, hypothesis, allegation and proposed reform.
  • Do not infer collusion or preferential treatment from concentration alone; require contracts, allocation records and comparable cases.
  • Do not state why Stripe excludes T&T unless Stripe provides a T&T-specific explanation.
  • Do not assume a foreign subsidiary, nominee or paper address is a legitimate workaround.
17
Research source register

Primary references and implementation standards

Re-check live status and current editions before legal or certification reliance.

  1. arc42 official template overview — 12 sections and architecture documentation purpose.
  2. arc42 documentation portal — guidance, tips and worked examples for all sections.
  3. arc42 template repository — current template source and version history (9.1, October 2026).
  4. First Citizens T&T e-Commerce — FAC-hosted payment page, TTD settlement, 3DS and merchant application requirements.
  5. CBTT Payment Service Providers — current PSP registration information and approved-provider list.
  6. CBTT Payment System Landscape — NPS, PSO and PSP oversight framework.
  7. CBTT Payment Systems Guideline No.3 — PSP registration framework.
  8. CBTT Financial Stability Report 2025 (published November 2026) — draft Bill/regulations and CAPSS update.
  9. Visa Third Party Agent registration — sponsor route and registration information.
  10. Mastercard Payment Facilitators — acquirer registration of payment facilitators.
  11. EMVCo 3-D Secure documentation — protocol, SDK, bulletins and supporting specifications.
  12. EMVCo 3DS white paper — frictionless and challenge flows.
  13. PCI SSC FAQ 1588 — SAQ A script-security eligibility criteria for embedded payment forms.
  14. PCI SSC FAQ 1604 — ASV scan requirements for SAQ A e-commerce merchants.
  15. PCI SSC FAQ 1438 — iframe payment-page origin requirements.
  16. OWASP API Security Top 10 (2023) — API-specific security risks.
  17. PostgreSQL transaction isolation — database transaction semantics.
  18. IMF 2026 Article IV staff report — FX market and macroeconomic context.
  19. IMF 2026 Article IV press release.
  20. CBTT-hosted Exchange Control Act Chap.79:50 — the available hosted consolidation is only updated to 31 December 2007; not sufficient alone for current legal advice.
  21. Companies Registry Online System.
  22. Stripe global availability — merchant-country eligibility; check live list and obtain written provider confirmation.
Legal caveat: this is an engineering and research specification, not legal advice. Confirm current consolidated legislation, amendments, Gazette commencement, CBTT directions, scheme rules, partner contracts and tax treatment before accepting live payments. In particular, the Exchange Control Act source above is an old consolidation and must not be treated as the complete law in force.