Understanding the Diagram
This sequence diagram illustrates:- Customer API: The parent site application that displays the onboarding UI
- Worth SDK: The SDK layer that handles API calls to Worth API for subsequent steps
- Worth API: The underlying API services (does not need to specify individual microservices like “Auth Service” or “Case Service”)
Key Points
-
Step 1: Customer Sign In (POST):
- Signs in a customer.
- Provides the customer id_token.
-
Step 2: Add Business (POST):
- Creates business and case information.
- It uses the
customer_tokenfor authentication. - Returns
invitation_urlfor the iframe to render.
-
Step 3: Initialize SDK:
- It uses the invite_token obtained from Step 2.
Related Documentation
- Overview - Return to the flow overview
- Step-by-Step Breakdown - Detailed endpoint information
- API Reference - Complete endpoint documentation