Checking access…

Skip to main content
Audience: CCG Platform Engineers

CCG Service Architecture and Flows

Engineers getting oriented on CCG service boundaries and end-to-end payment flows. For exact ownership, service APIs, and resilience details, see the Service Catalog.

Document Status β€” Draft

Status: Draft β€” April 21, 2026 | Audience: Engineers and TPMs

Reviewer: ranga_chenna@optum.com

⚠️ This document is a work in progress and must be kept up to date as services evolve. Engineers making changes to service contracts, flows, or configurations are expected to reflect those changes here before merging.

Several services are marked "yet to be documented."

1. System Overview​

The Convenient Checkout Gateway (CCG) is a payment gateway that enables merchants to integrate a hosted checkout UI or API-first payment flows into their platforms. It supports one-time payments, saved payment methods (pay-and-save), split-tender transactions, refunds, and reporting.

Architectural Style​

CCG uses a hybrid architecture combining three integration patterns:

PatternUsed For
Synchronous RESTReal-time payment, session, and customer operations
Event-drivenMerchant configuration propagation and outbound webhook notifications
File-based ingestioncustomer and Payment method migration from other payment gateways

Key Integration Patterns​

  • Merchants integrate via a widget (UI) initialized through wallet-auth-service, or directly via the API.
  • Payment orchestration is owned by wallet-payment-service, which delegates processor-level operations to wallet-stripe-adapter-service.
  • Merchant configuration changes and payment events are propagated outbound as webhooks via wallet-merchant-service.

3. End-to-End Payment Flow​

The sections below trace the most common flows across CCG services.

For UI-based flows, session management is a shared prerequisite and is documented once in a common flow. For Direct API flows, the same business operations are available without widget session bootstrap.

FlowUI (Widget)Direct API
Session managementYesNot required
Pay with walletYesYes
One-time pay / pay-and-saveYesYes
Wallet/payment method managementYesYes
RefundNoYes

UI Session Management Flow​

Pay with Wallet Flow​


One-Time Pay and Pay-and-Save Flow​


Refund Flow​


Wallet Management Flow​