Skip to main content
POST
Create a customer

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Body

application/json
type
enum<string>
default:individual

A person goes through KYC and a company through KYB, and the two can be offered different corridors. Fixed after create.

Available options:
individual,
business
email
string<email>

Lower-cased on save. Starts the wallet owner.

name
string
external_id
string

Response

The customer and its accounts.

A banking customer (cus_) in the key's mode.

id
string
required
Pattern: ^cus_
type
enum<string>
required

A person (KYC) or a company (KYB). Set at create, never changes. It also decides which corridors the customer can use.

Available options:
individual,
business
email
string | null
required
name
string | null
required
external_id
string | null
required

Your own id for the customer.

status
string
required
verification_status
enum<string>
required
Available options:
unverified,
pending,
approved,
rejected
livemode
boolean
required
created
string<date-time>
required
accounts
object[]