Skip to content

Implementation Playbooks

This page turns the OpenWave standard into practical integration paths. Use it as the starting checklist for merchants, banks, TPPs, gateway operators, and registry operators.

Merchant playbook

Merchants integrate with a gateway, not directly with banks.

PhaseBuildDone when
1Merchant registration and API key storagemk_... keys exist only on the merchant backend.
2Payment session creationBackend can create a session with amount, currency, order reference, callback URL, and return URL.
3Hosted checkout or SDKCustomer enters NPT alias or IBAN and authorizes in gateway-hosted UI.
4Webhook receiverMerchant verifies X-OpenWave-Signature and persists events idempotently.
5ReconciliationMerchant can match order reference, payment ID, amount, fee, and settlement status.
6Recurring mandatesCustomer sees amount/frequency/expiry and approves before future charges.
7Open Banking, if neededCustomer sees scopes and bank before consent; backend exchanges authorization code with PKCE.

Minimum production evidence:

  • Successful payment by NPT alias.
  • Successful payment by IBAN.
  • Failed OTP and retry.
  • Signed webhook verification.
  • Duplicate webhook idempotency.
  • Refund or cancellation path where supported.
  • Customer-safe error messages.

Bank playbook

Banks expose callbacks to gateways and integrate with their CBS or bank middleware.

PhaseBuildDone when
1Callback authenticationGateway calls are authenticated with X-OpenWave-Internal-Key: ow_cbk_....
2Customer lookupBank can resolve customer eligibility and available SCA methods without exposing private account data.
3OTP or pushBank sends and verifies OTP or push approval.
4Internal transferSame-bank debtor and creditor accounts are mapped to CBS account numbers before execution.
5Interbank routeCross-bank payments use the configured national rail or gateway interconnect path.
6IdempotencyRetried debit, credit, and notification calls do not duplicate money movement.
7Open Banking APIsAccounts, balances, transactions, standing orders, and payment orders enforce consent scopes.

Minimum production evidence:

  • Missing key returns unauthorized.
  • Wrong key returns unauthorized.
  • Valid key reaches OTP send.
  • OTP verified payment executes once.
  • Blocked account returns a clear standard error.
  • CBS timeout returns retry-safe dependency error.
  • Audit trail exists for SCA, debit, credit, and consent access.

TPP and fintech playbook

TPPs use OAuth 2.0 Authorization Code with PKCE for Open Banking.

PhaseBuildDone when
1Client registrationTPP has redirect URIs, client ID, and allowed scopes.
2Consent creationTPP creates consent with purpose, expiry, scopes, and PKCE challenge.
3Hosted consentCustomer sees TPP, bank, accounts, scope list, duration, and revocation path.
4Token exchangeBackend exchanges code and verifier for scoped tokens.
5API callsTPP calls only APIs covered by granted scopes.
6RevocationConsent revocation stops future token use.

Minimum production evidence:

  • Missing PKCE verifier fails.
  • Redirect URI mismatch fails.
  • Token cannot access ungranted scopes.
  • Consent revocation invalidates access.
  • Customer portal shows active and revoked consents.

Gateway operator playbook

Gateway operators implement policy, routing, merchant APIs, hosted customer surfaces, webhooks, and interconnect.

PhaseBuildDone when
1Merchant APIPayment and mandate creation enforce keys, idempotency, and amount validation.
2Hosted customer UIPayment, mandate, and Open Banking consent are rendered outside merchant-controlled OTP collection.
3Bank routingGateway maps payer/merchant bank, same-bank route, interbank rail, and settlement state.
4Webhook deliveryEvents are signed, retried, logged, and replayable by operators.
5Identity resolutionGateway uses the registry as source of truth for NPT handles.
6OW-GIPGateway can discover peers, route remote payments, and reconcile settlement batches.

Minimum production evidence:

  • End-to-end one-time payment.
  • Recurring mandate approval, charge, cancellation.
  • Open Banking consent, token exchange, account read, revocation.
  • Webhook retry after receiver outage.
  • Gateway health and route-status responses.
  • Operational dashboard with bank, merchant, customer, route, and error filters.

Identity registry playbook

The registry is the source of truth for NPT handles and bank-scoped account links.

PhaseBuildDone when
1Bank registrationBank has owbk_... credentials and a bank handle namespace.
2Handle claimCustomer can claim one global username.
3Account linkBank links only accounts it owns and has vouched for.
4Default routeCustomer can choose default account without unsafe global alias rename.
5Public resolutionGateways can resolve route metadata without receiving private banking data.
6Recovery and governanceSuspension, dispute, recovery, and audit paths are documented.

Standard test personas

PersonaPurpose
Customer with one bank accountBasic payment and consent.
Customer with multiple accounts at one bankDefault account selection.
Customer with accounts at multiple banksNPT handle plus bank-scoped routes.
Merchant with same-bank creditor accountInternal transfer route.
Merchant with different-bank creditor accountInterbank route and settlement.
TPP with read-only scopesAISP token handling.
TPP with payment scopePISP authorization and status.