PayBridge

PayBridge

Payment Orchestration Service

Shared payment lifecycle across Stripe and NicePay, provider-specific execution, transaction search, reversal controls, and related JSON endpoints.

Backend: Java 21 · Spring Boot 3 UI: Spring MVC + server-rendered pages + minimal JS Architecture: Modular Monolith Controls: Idempotency · Audit · Outbox · Webhooks
Shared lifecycle Approvals, refunds, cancellations, and partial reversals

Provider-specific execution paths write into one payment record and one reversal history.

Operator visibility Search, detail, and JSON endpoints

Search by internal or provider identifiers, inspect payment detail, and open related read-only endpoints.

Write-path safety Duplicate-safe recording and traceability

Correlation IDs, masked logging, audit rows, outbox persistence, and Stripe webhook deduplication are built into the service flow.

What this service covers

  • Shared payment lifecycle across Stripe PaymentIntents and NicePay key-in approvals.
  • One transaction record for approval, refund, full cancellation, and partial reversal flows.
  • Operator search and payment detail pages backed by read-only JSON endpoints for transactions, audit logs, outbox events, and recent Stripe webhooks.
  • Idempotency, duplicate-safe webhook handling, correlation IDs, masked logging, and database-backed audit/outbox persistence.

Provider coverage

Stripe

Hosted card checkout with PaymentIntent creation, browser confirmation, refunds, and webhook follow-up processing.

Enabled

NicePay key-in

Public test route for merchant-hosted approval plus operator-only cancellation behavior.

Enabled

Primary routes

  1. Checkout entry that routes into Stripe or NicePay without flattening provider-specific behavior.
  2. Stripe browser checkout with return-page verification and webhook follow-up.
  3. NicePay public test key-in flow with operator-only full cancellation and partial cancellation.
  4. Transaction search, payment detail, and related JSON endpoints for operational inspection.