Create a client
Last updated
Last updated
Content-Type
string
The content-type must always be set to application/json
.
Authorization
string
The API live
or test
key
type
string
The type of client. Valid values are:
1. person
2. company
string
The client's email address.
mobile
string
The client's mobile number.
telephone
string
The client's telephone number.
externalId
string
A unique identifier that you can associate with the client. For example, this can be the client ID in your system.
joinedDate
string
The date and time when the client was registered with you. This is relevant for users that migrate existing customers. The format is YYYY-MM-DD
.
personDetails
object
Primary details for a client of type person
. This is required when the type
is person.
companyDetails
object
Primary details for a client of type company
. This is required when the type
is company.
Attribute
Type
Optionality
Description
firstName
string
Required
The client's first name.
middleName
string
Optional
The client's middle name.
lastName
string
Required
The client's last name.
dob
string
Optional
The client's date of birth. The format is YYYY-MM-DD
.
gender
string
Optional
The client's gender. Valid values include:
male
female
other
nationality
string
Optional
The client's nationality. This will be the two-letter country ISO code.
birthCountry
string
Optional
The client's birth country. This will be the two-letter country ISO code.
Attribute
Type
Optionality
Description
name
string
Required
The client's name.
website
string
Optional
The client's website.
registrationNumber
string
Optional
The client's registration or incorporation number.
incorporationCountry
string
Optional
The client's incorporation country. This will be the two-letter country ISO code.
incorporationType
string
Optional
The client's incorporation type. Valid values include:
sole_proprietorship
private_limited_company
public_limited_company
limited_partnership
holding_company
non_government_organisation
statutory_company
subsidiary_company
unlimited_partnership
charitable_incorporated_organisation
chartered_company