Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

API Resources

When to use this page

Finding the right API resource for your task β€” Sessions, Payments, or Wallet Management.

Sessions are the entry point for the checkout widget β€” create one when you want CCG's UI to present a capability to the customer. They're not required otherwise: your server can create, capture, cancel, or refund a Payment directly against the API with no Session involved at all. Wallet Management is a mix of both β€” adding a new method happens through a Session (the widget drives it), while everything else (duplicates, invalidation, replacement) is a direct API/webhook concern.

  • 🧩 Launching the checkout widget (Hosted or Embedded) β†’ Sessions
  • πŸ’³ Creating, capturing, cancelling, or refunding a payment directly from your server β†’ Choose a Payment Flow
  • πŸͺͺ Adding, editing, or removing a wallet payment method β†’ Wallet Management

How the Resources Relate​

  1. Launch the widget?Create a Session β€” it declares the capability (payment, wallet management, method entry) and options for that interaction. See Sessions.
  2. Pay directly from your server?Skip Sessions entirely β€” call the Payments API directly for a one-time or saved-method payment. See Choose a Payment Flow.
  3. Manage the wallet?Adding a method goes through a Session; everything else (duplicates, invalidation, replacement) is a direct API/webhook concern. See Wallet Management.