Step 1: Customer Sign-In
Authenticate the customer using username (email) and password to obtain the customer token. Authentication: None (public endpoint) Example Request:id_token: Token used for secure API communication (recommended for all API calls)customer_details: Object containing customer informationid: The unique identifier of the customer (customerID)
Important: Always use theid_token(also referred to ascustomer_token) for secure API communication in subsequent steps.
API Reference: Customer Sign In
Step 2: Add Business
This service creates the business, the case and a applicant invite link and returns it on the api response ifgenerate_invite_link is true.
Example Request:
Important fields
external_id: This field is the parent site identifier for this business.name: Business name.address_: This ones are related to the business address.tin: Business Tax Identification Number.owner_: This fields are related to the business owner information, that will be autopopulated.applicant_: This fields are related to the applicant that will be linked to the invite.applicant_subrole_code: This field needs to be “owner” in lowercase for the platform to work.generate_invite_link: This field needs to be true so we receive the invite link as part of the API response.
Example Request Body
Response
The response includes:invitation_url: The customer bearer token needed for the iframe initialization. This is part of the “applicant” object inside data[0].
Note: This documentation shows only the fields needed to onboard a user using the SDK. For the complete API reference with all available fields, see Add Business.
Related Documentation
- Overview - Return to the flow overview
- Detailed Sequence Diagram - Visual representation of the flow
- API Reference - Complete endpoint documentation