post
https://api.sandbox.1money.com/v1/customers/hosted
Create a lightweight customer account with minimal information for the self-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
- Create Lightweight Customer (this endpoint) — Provide basic contact info to get a
customer_id - Create Onboarding Grant — Generate a time-limited onboarding URL(
POST /v1/customers/onboarding/grants) - Redirect End User — Send the user's browser to the
onboarding_url; they complete the full KYB form on the 1money-hosted page - Poll Status — Listen webhook or monitor KYB verification progress(
GET /v1/customers/hosted/{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_nameandlast_namemust 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
| Value | Description |
|---|---|
BUSINESS | Corporate / business customer (B2B2B model) |
INDIVIDUAL | Individual customer (B2B2C model), currently not supported, pending future implementation |
