Self Hosted Customer Onboarding

Overview

Self-Hosted Onboarding allows partner platforms to embed 1money's KYB (Know Your Business) verification flow directly into their own user experience. Instead of building a full KYB form from scratch, platforms redirect their end users to a 1money-hosted onboarding page where they can complete the entire verification process.

This guide covers the business flow. Individual customers can use the Create Individual Self-Onboarding URL endpoint to complete their KYC journey on a 1Money-hosted page.

Key benefits:

  • Minimal integration effort (2 API calls + 1 redirect)
  • 1money handles all KYB form UI, validation, document upload, and identity verification
  • Platforms retain control over customer lifecycle via OpenAPI
  • Real-time status polling to track verification progress

Related OPENAPI Endpoint:

If you would like to understand the accepted parameters and response for each API, or learn more about the detailed workflow and logic of the APIs, please click on each endpoint for a more detailed explanation.

Architecture

Integration Steps

Prerequisites

  • A valid 1money OpenAPI key pair (API Key + API Secret)
  • Self-hosted onboarding feature enabled for your entity (contact 1money support)

Step 1: Create the Self-Onboarding URL

Create Self-Onboarding URL

Create the business sub-account and its hosted onboarding URL in a single call. Supply only the company's legal name — the end user will fill in the remaining details during the hosted onboarding flow.

Notes:

  • This endpoint onboards business sub-accounts. For an individual, use Create Individual Self-Onboarding URL with first_name and last_name instead of legal_name.
  • account_id (path): The parent account the sub-account is created under — your Main-Account or any approved business sub-account, in the form BZ-XXXX-XXXX.
  • legal_name (required): The company's registered legal name.
  • redirect_url (optional): Where the user is redirected after completing or canceling the onboarding. If omitted, the user stays on the 1money page after submission.
  • The Idempotency-Key header is required and identifies the hosted onboarding draft. Reusing the same key returns the existing draft instead of creating a duplicate. Only a valid UUID is accepted.
  • Save the returned account_id for subsequent API calls.
  • The URL expires at the returned expires_at — 30 minutes after creation by default. If it expires, call the endpoint again.
  • The URL is single-use — once exchanged, it cannot be reused. Call the endpoint again if the user needs to restart.

Step 2: Redirect the End User

On your frontend, redirect the end user's browser to the onboarding_url returned in Step 1.

What happens after redirect:

  1. The user's browser hits the onboarding_url, which exchanges the one-time token for a secure session cookie.
  2. The user is automatically redirected to the hosted onboarding page.
  3. First visit (profile not yet completed): The user is taken to the Company Profile page to enter basic business information (company name, country of incorporation, industry, etc.).
  4. Profile already completed: The user is taken directly to the KYB form page.
  5. The user fills in the full KYB application:
    • Company information
    • Related parties (beneficial owners, controllers, signers)
    • Document uploads
    • Identity verification
  6. After submission, the user is redirected back to your redirect_url (if provided).

Step 3: Listen or Poll Account Status

After the user is redirected back to your platform, poll the account status to track verification progress.

Webhook: Business Onboarding Webhooks

Fetch Status: Get Business Account, using the account_id returned in Step 1.

Step 4: Handle Re-Entry (Optional)

If a user needs to return to the onboarding flow (e.g., to fix issues after ACTION_REQUIRED status, or if they abandoned the form midway), simply call Create Self-Onboarding URL again with the same Idempotency-Key.

The user will be redirected to the onboarding page with their previously saved progress intact.

FAQ

Q: Can I create multiple customers with the same email?

A: No, email addresses must be unique within your entity. Attempting to create a duplicate will return a 400 error.

Q: What happens if the onboarding URL expires?

A: Request a new one with POST /v2/accounts/{main_account_id}/businesses/onboarding-sessions using the same Idempotency-Key. Any previously saved form data is preserved.

Q: Can the user resume an incomplete onboarding?

A: Yes. Request a new onboarding URL with the same Idempotency-Key. The user's previous progress (company info, related parties, uploaded documents) is automatically restored.

Q: How long is the hosted session valid?

A: The browser session is valid for 24 hours after the onboarding URL is exchanged. If the session expires, request a new URL.

Q: Does the user receive any emails during onboarding?

A: No. The self-hosted onboarding flow does not send invitation or notification emails to the end user. All communication is handled by the partner platform.

Q: What webhooks are available?

A: Listen for the business onboarding webhook events documented in Business Onboarding Webhooks: account.business.under_review, account.business.rfi, account.business.ready, and account.business.rejected.


Did this page help you?