Create a client
URL
POST https://api.complycube.com/v1/clients
Creates a new client.
Headers
Name | Type | Description |
---|---|---|
| string | The content-type must always be set to |
| string | The API |
Body
Name | Type | Description |
---|---|---|
| string | The type of client. Valid values are:
1. |
| string | The client's email address. |
| string | The client's mobile number. |
| string | The client's telephone number. |
| string | A unique identifier that you can associate with the client. For example, this can be the client ID in your system. |
| string | The date and time when the client was registered with you. This is relevant for users that migrate existing customers. The format is |
| object | Primary details for a client of type |
| object | Primary details for a client of type |
| object | Set of key-value pairs that you can associate with the client object. This is useful for storing additional information about the client in a structured format. You can specify up to 20 keys, with key names up to 40 characters long and values up to 500 characters long. |
The personDetails
object
personDetails
objectAttribute | Type | Description |
---|---|---|
| string | The client's first name. (Required) |
| string | The client's middle name. (Optional) |
| string | The client's last name. (Required) |
| string | The client's date of birth. The format is |
| string | The client's gender. Valid values include:
(Optional) |
| string | The client's nationality. This will be the two-letter country ISO code. (Optional) |
| string | The client's birth country. This will be the two-letter country ISO code. (Optional) |
| string | The client's SSN (Social Security Number). This is for US clients. (Optional) |
| string | The client's Social Insurance Number. (Optional) |
| string | The client's National Identity Number. (Optional) |
| string | The client's Tax Identification Number (TIN). (Optional) |
The companyDetails
object
companyDetails
object Attribute | Type | Description |
---|---|---|
| string | The client's name. (Required) |
| string | The client's website. (Optional) |
| string | The client's registration or incorporation number. (Optional) |
| string | The client's incorporation country. This will be the two-letter country ISO code. (Optional) |
| string | The client's incorporation type. Valid values include:
(Optional) |
Example request
Example responses
Last updated