Skip to main content
POST
Create user
Required scope: USERS_ONBOARD

Authorizations

Authorization
string
header
required

API key as Bearer token

Headers

Reap-Version
enum<string>
required

API version (YYYY-MM-DD)

Available options:
2025-02-14
Example:

"2025-02-14"

Body

Request body for creating a new user

email
string<email>
required

User email address (max 50 characters)

Maximum string length: 50
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Example:

"john.doe@partner.io"

phoneNumber
string
required

Phone number in E.164 format (e.g., +14155552671)

Pattern: ^\+[1-9]\d{6,14}$
Example:

"+14155552671"

externalId
string

Your own identifier for this user (1-255 characters). Must be unique among your active users; a deleted user releases its value for reuse. Use it to look the user up later via the externalId filter on List users.

Required string length: 1 - 255
Example:

"cardholder_8f21a"

firstName
string

User first name (1-100 characters). Required on corporate employee projects, where cards are issued to a company's employees without KYC. Optional on other projects - if omitted, it is filled from the verified KYC identity when the application is approved.

Required string length: 1 - 100
Example:

"John"

lastName
string

User last name (1-100 characters). Required on corporate employee projects. Optional on other projects - if omitted, it is filled from the verified KYC identity when the application is approved.

Required string length: 1 - 100
Example:

"Doe"

companyId
string<uuid>

Company ID (required in CORPORATE program mode)

dateOfBirth
string<date>

Date of birth (YYYY-MM-DD). The employee must be at least 18 years old. Used only on corporate employee projects. Ignored on other projects, where it is filled from the verified KYC identity.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Example:

"1990-05-15"

nationality
string

Nationality (ISO 3166-1 alpha-2). Used only on corporate employee projects. Ignored on other projects, where it is filled from the verified KYC identity.

Required string length: 2
Examples:

"US"

"GB"

"DE"

country
string

Country of residence (ISO 3166-1 alpha-2). Used only on corporate employee projects. Ignored on other projects, where it is filled from the verified KYC identity.

Required string length: 2
Examples:

"US"

"GB"

"DE"

Response

User resource

id
string<uuid>
required

Unique user identifier

externalId
string | null
required

Your own identifier for this user, as supplied at creation. Null if none was provided.

Example:

"cardholder_8f21a"

email
string<email>
required

User email address

Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Example:

"john.doe@example.com"

phoneNumber
string
required

Phone number in E.164 format

Example:

"+14155552671"

firstName
string | null
required

User first name. Null until provided by the client or backfilled from the verified KYC identity on approval.

Example:

"John"

lastName
string | null
required

User last name. Null until provided by the client or backfilled from the verified KYC identity on approval.

Example:

"Doe"

country
string | null
required

ISO 3166-1 alpha-2 country code

Required string length: 2
Example:

"US"

dateOfBirth
string | null
required

Date of birth (YYYY-MM-DD). Filled from the verified KYC identity, or as sent at creation on corporate employee projects.

Example:

"1990-05-15"

nationality
string | null
required

Nationality (ISO 3166-1 alpha-2) as sent at creation on corporate employee projects. Null on other projects.

Required string length: 2
Example:

"US"

companyId
string<uuid> | null
required

Company ID (set in CORPORATE program mode)

application
object
required

KYC application status

createdAt
string
required

ISO 8601 timestamp of creation

Example:

"2024-01-15T10:30:00Z"

updatedAt
string
required

ISO 8601 timestamp of last update

Example:

"2024-01-15T10:35:00Z"