QuantumChain QTCN
MenuClose menu
Documentation QTCN / NETWORK

QUANTUMCHAIN

Explore the docs

Architecture · Payments · Protocol

MERCHANTS · DESIGN GUIDE

Merchant integration

Connect checkout, gateway events and enterprise records while keeping protocol evidence intact.

8 min readReviewed 24 November 2026Markdown ↗

Connect services without merging their authority

The gateway orchestrates checkout and normalizes status. The connector translates that model into a PSP or accounting workflow. Neither replaces the protocol as the source of chain truth. Expand the boundaries below to inspect each responsibility.

TRACEABLE CONNECTIONSTranslate the records. Preserve their meaning.
01
Shop / POSOrder and customer context

Creates or resolves the request and displays its status. A browser return is not payment evidence.

02
Merchant gatewayRequest and lifecycle tracking

Coordinates checkout, authenticated notifications, exceptions and refunds. Retains canonical transaction and receipt references.

03
PSP / accounting connectorExternal posting and payout mapping

Maps records into enterprise systems without turning pending reserves into completed payouts.

04
Protocol evidenceTransactions, receipts and finality

Anchors successful chain outcomes independently of the gateway’s display or message delivery.

SHARED REFERENCESRequest → transaction → receipt → settlement / payout

Responsibility boundaries, not a production API or a requirement that every deployment uses all these services.

Keep the reference chain intact

Mappings must preserve distinct meanings. A pending settlement reserve cannot become a completed bank payout simply because the external system has a shorter list of status codes.

Keep the reference chain intact
Source referenceDownstream relationship
Request IDPSP payment or checkout reference
Order reference / optional invoiceMerchant accounting record
Transaction and receipt IDsEvidence for protocol outcome
Settlement / payout batchPosting and disbursement record
Refund IDNew action linked to the original payment

Treat webhooks as authenticated notifications

Notification arrival alone does not prove finality. The exact signature format, clock tolerance, retry schedule and event schema still need an implementation reference. No production webhook endpoint is published by this guide.

  • Verify the payload under the chosen authentication profile.
  • Validate timestamps, context and replay-resistant identifiers.
  • Persist processing state and make duplicate handling idempotent.
  • Resume missed events and query authoritative status when needed.
  • Retain correlation IDs and avoid putting secret or unnecessary personal data in logs.

Expose fees, splits and reserves explicitly

Fee sponsorship, split settlement and delayed release are possible integration profiles. The request and approval must identify the applicable policy and its authorization.

A split allocates value to defined beneficiaries; a reserve constrains availability. Neither creates additional money. Do not infer a universal fee percentage, payout delay or reserve requirement from the architecture.

Verify the complete integration before use

Verify the complete integration before use
Test caseExpected discipline
Request tamperingReject altered merchant, destination or material terms
Callback without settlementKeep the payment unconfirmed
Duplicate or out-of-order eventsPreserve one effect and canonical state
Network interruptionRecover the existing request and transaction
Partial refundTrack remaining refundable amount and original linkage
Payout failurePreserve the obligation and show its separate status

A design guide, not a released API

The source describes intended API surfaces and deployment profiles. This page provides no runnable endpoint, SDK version, production credentials or guarantee of processor compatibility.

Verified schemas, test-network access, integration examples and operational procedures should accompany a software release. A connector diagram does not establish an active banking partnership or acquiring arrangement.