Checking access…

Skip to main content
Audience: CCG Platform Engineers

EIMP Identity Service

The EIMP Identity Service enables the Convenient Checkout Gateway (CCG) to retrieve customer information or receive updates on customers.

What are you working on?​

Overview​

The EIMP Identity Service supports two primary workflows:

  1. HCP Identity Service API
    The HCP Identity Service API is used to obtain an authoritative ("golden") person record before creating or enriching a local customer or enterprise customer. The golden record is a synthesized view built from one or more raw Identity User payloads fetched via different lookup keys, such as enterpriseId, HSID, or customer identifier search.

    For more details, see Requesting Access to HCP Identity API.

  2. HCP Data Catalog Entity Change Topic
    The HCP Data Catalog Entity Change Topic allows the CCG EIMP Entity Change Kafka Consumer to deserialize events from the configured Kafka topic, classify the event type, and perform the corresponding customer lifecycle actions. Processing outcomes are recorded in Postgres.

    For more details, see Kafka Entity Change Topic Subscription Request.

Role in CCG Workflows​

  • When a merchant initiates a session, CCG calls EIMP to obtain enterprise customer details.
  • EIMP helps match the incoming customer data to an existing Enterprise ID (EID) or return no results found.
  • This process is transparent to merchants; all EIMP interactions are managed by CCG.

Customer Creation & Update Flow​

  1. Merchant sends customer information to CCG.
  2. CCG calls EIMP to retrieve or validate the enterprise customer record.
  3. If EIMP record is found:
    • If the customer exists in CCG, their information is updated.
    • If not, a new customer and enterprise wallet are created in CCG.
  4. If EIMP record is not found:
    • A local customer is created in CCG, and a local wallet is returned.

APIs​

EIMP provides two main APIs for accessing enterprise customer information:

1. Read API​

  • Use the Read API to fetch customer information by unique identifiers such as hsid or enterpriseId.
  • This is ideal when you already have a specific ID and need to retrieve the corresponding customer record.

2. Search API​

  • Use the Search API to find customers using multiple filters, such as date of birth (dob), name, or other identifiers.
  • This is useful for scenarios where you need to locate a customer but only have partial information or need to search across several fields.

Key Considerations​

  • The Customer table in CCG enforces a unique index on enterprise ID to prevent duplicate enterprise customers.
  • If a customer with the same EID exists but is inactive, an exception will occur during creation or update.
  • Merchants do not interact with EIMP directly; all integration is handled by CCG.

Error Handling​

  • If EIMP is unavailable or returns errors, CCG will fall back to creating a local customer record.
  • Proper error handling and validation are essential to maintain data integrity.

Monitor entity change events​

Use the Splunk dashboards for non-production and production to track the number of EIMP entity change events processed, event types, and affected CCG customers.

See Also​