GuidesAPI ReferenceChangelog
API Reference

Create Customer for Hosted Onboarding

Create a lightweight customer account with minimal information for the 1money-hosted onboarding flow.

This is Step 1 of the hosted onboarding integration. The end user will complete the full KYB (Know Your Business) verification through the 1money-hosted onboarding page.

Hosted Onboarding Flow

  1. Create Lightweight Customer (this endpoint) — Provide basic contact info to get a customer_id
  2. Create Onboarding Link — Generate a time-limited onboarding URL(POST /v1/customers/{customer_id}/onboarding_links)
  3. Redirect End User — Send the user's browser to the onboarding_url; they complete the full KYB form on the 1money-hosted page
  4. Poll Status — Listen webhook or monitor KYB verification progress(GET /v1/customers/{customer_id}) until a terminal status is reached

Idempotency

The Idempotency-Key header is required. Behavior:

  • If no customer exists for the given key, a new customer is created and returned with HTTP 201.
  • If a customer with the same idempotency key already exists under your entity, it is returned as-is (HTTP 201, no duplicate created). Use a UUID v4 as your idempotency key.

Constraints

  • Email must be unique within your entity. A duplicate email returns HTTP 400.
  • The total number of customers per entity is subject to a configurable quota.
  • first_name and last_name must be plain text (no HTML/script tags), 1–255 characters each.
  • The customer is created with KYB status INIT.
  • No invitation emails are sent to the end user in this flow.

Customer Types

ValueDescription
BUSINESSCorporate / business customer (B2B2B model)
INDIVIDUALIndividual customer (B2B2C model), currently not supported, pending future implementation
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Primary email address for the customer. Must be a valid email format and unique within your entity. This email is used as the customer's primary contact identifier.

string
required
length between 1 and 255

First name of the primary contact / main applicant. Must be plain text (no HTML or script tags), 1–255 characters. This will be pre-populated as the main applicant's first name in the KYB form.

string
required
length between 1 and 255

Last name of the primary contact / main applicant. Must be plain text (no HTML or script tags), 1–255 characters. This will be pre-populated as the main applicant's last name in the KYB form.

string | null

Legal company name. Must be plain text (no HTML or script tags), 1–100 characters. Required for the /lightweight endpoint; optional for legacy /hosted.

string
enum
required

Type of customer account to create.

  • BUSINESS: Corporate / business customer (B2B2B model)
  • INDIVIDUAL: Individual customer (B2B2C model) currently not supported, pending future implementation
Allowed:
Responses

Language
Credentials
Bearer
OneMoney-HMAC-SHA256
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json