SET API (Platforms) · Customers
Create a customer
POST/v1/customers
Names a merchant (or individual) and starts its verification. In production the answer carries the hosted terms link (tosLink) and KYB/KYC link (kycLink) the customer completes. One customer per externalId: a repeat returns the existing one.
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Body
externalIdstringrequired- Your id for the customer: 1–64 of
A-Z a-z 0-9 _ . : -. type"business" | "individual"required- KYB for a business, KYC for an individual.
namestringrequired- Exact legal name.
emailstringrequired- Where the verification links are tied. Sent to the verification provider only; SET does not store it.
endorsementsstring[]- Any of
base(USD),sepa(EUR),faster_payments(GBP) to request on the first link. redirectUristring- HTTPS URL the customer returns to after the hosted pages.
Notes
- In staging the customer is synthetic: approve it with
POST /v1/sandbox/customers/{id}/approve(the sandbox cannot complete a hosted link).
Errors
400 external_id_invalid400 type_invalid400 name_invalid400 email_invalid400 endorsements_invalid400 redirect_uri_invalid409 customer_type_conflict409 email_already_onboarded401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited