Hosted Onboarding
Introduction
Increase provides a hosted onboarding flow that allows your customers to submit their business information directly to Increase. This creates an Entity in your Increase environment without requiring you to build custom onboarding forms or handle sensitive information like tax IDs.
The flow works as follows:
- You create an Entity Onboarding Session via the API, specifying a redirect URL.
- You send your customer to the
session_urlreturned in the response. - Your customer completes the onboarding form on Increase’s hosted page.
- After submission, the customer is redirected back to your
redirect_urlwith the session and entity IDs as query parameters.
Creating an onboarding session
To start the onboarding flow, create an Entity Onboarding Session using the Create an Entity Onboarding Session endpoint.
The response includes a session_url that you should redirect your customer to. Sessions eventually expire.
Onboarding an existing entity
If your customer has already created an Entity and they need to provide additional information or documents, you can pass the entity_id parameter when creating the session. The hosted form will display any outstanding tasks required to complete the entity’s onboarding.
Handling the redirect
After the customer completes the onboarding form, they are redirected to your redirect_url. The redirect includes query parameters with the session and entity information:
You can use the entity_id to retrieve the newly created Entity and proceed with creating accounts or other resources.
You should also monitor the entity.created webhook for new Entities. If the user fails to be redirected to your webpage, you’ll still be able to access the new Entity.
Session status
An Entity Onboarding Session can be in one of the following statuses:
| Status | Description |
|---|---|
active | The session is active and the customer can complete the onboarding form. |
expired | The session has expired. Sessions eventually expire. |
If a session expires before the customer completes onboarding, you can create a new session and redirect them again.
Sandbox
In the sandbox environment, you can simulate a customer completing the onboarding form using the Simulate Entity Onboarding Session Submission endpoint.
This creates a test Entity and associates it with the session, allowing you to test your redirect handling logic without having to complete the webform each time.