Skip to main content
This diagram shows the complete sequence of API calls required for the business onboarding process, from sending business invite through to adding owners.

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_token for authentication.
    • Returns invitation_url for the iframe to render.
  • Step 3: Initialize SDK:
    • It uses the invite_token obtained from Step 2.