Checking access…

Skip to main content
Audience: CCG Platform Engineers

Customers

Find the customer identity, wallet, or saved-payment-method behavior you need to trace. Customer data handling is shared across CCG V1 and V2.

What are you working on?​

Customer data at a glance​

CCG creates and manages customer records using multiple identifiers across V1 and V2. Both versions use the shared, unversioned wallet-customer-service customer-creation flow; versioning is applied at the virtual-service and HCP layers.

important

Customer creation requires at least one primary identifier; if none is provided, the process cannot continue.

Types of Customer​

  • Enterprise Customer: A user with an enterpriseId will have all their payment methods consolidated into a single enterprise wallet, accessible across all merchants. This enables a seamless experience for users who interact with multiple merchants under the same enterprise.
  • Local Customer: A user identified only by mcid will have a local wallet, accessible only to the merchant that created it. This is ideal for merchants who want to manage their own customer base independently.

Best Practices​

  • When upgrading a local wallet to an enterprise wallet, CCG will merge and de-duplicate payment methods to ensure a single, unified wallet per customer. Refer to Wallet Upgrade for more details.
  • Regularly review and update merchant configuration to ensure all relevant mcids are supported and mapped correctly.

Merchant-facing endpoints supporting customer creation​

Merchants call these exposed APIs, which can invoke the internal POST /customers/find endpoint as part of their workflow. The paths below are the documented V1 entry points; /customers/find itself is not merchant-facing.

  • Sessions: POST v1/sessions – Initiates a session and creates a customer if needed.
  • Find Payment Method Search: POST v1/payment-methods/search – Searches for payment methods and creates a customer if not found.
  • Payments: POST v1/payments, POST v1/token/payments – Processes payments and creates a customer if necessary.
  • Setup Payment Methods: POST v1/token/setup-payment-methods – Sets up payment methods and creates a customer if required.