Customer Creation Process
This document provides a comprehensive overview of the customer creation process in the wallet-customer-service platform. It details the flow, involved entities, event-driven architecture, and best practices for integrating new customers across platform, merchant, and vendor systems.
RELATED DOCUMENTATION
For business logic and API specifications related to customer creation, please refer to the Customer API documentation.
QUICK REFERENCE
The wallet-customer-service manages several related entities for customer data:
- Platform Customer: Central entity storing core customer information (name, email, phone, etc.)
- Enterprise Customer: Links platform customers to enterprise identity systems (e.g., EIMP)
- Merchant Customer: Represents a customer's relationship with a specific merchant
- Merchant Customer Metadata: Key-value pairs of merchant-specific customer data
- Vendor Customer: Represents a customer in a vendor's system (i.e., Stripe)
Customer Creation Flow Diagram
The customer creation process is orchestrated by the service, which coordinates the creation and updating of these entities.