1. Create personal profile
POST {{host}}/v1/profiles
Create personal user profile. One person cannot have multiple active duplicate user profiles, creating multiple profiles with the same details will fail.
Field | Description | Format | Validation rules (java regex ) |
---|---|---|---|
type | personal | Text | Must be personal. |
details.firstName | First name (including middle names) | Text (max 30 chars) | Must not contain: %#^@{}"!~<>\ . ((^[^%#^@{}"!~<>\\]+$) ) |
details.lastName | Last name | Text (max 30 chars) | Must not contain: %#^@{}"!~<>\ . ((^[^%#^@{}"!~<>\\]+$) ) |
details.dateOfBirth | Date of birth | YYYY-MM-DD | Must be YYYY-MM-DD format. |
details.phoneNumber | Phone number | Text | Must be a valid phone number, validated through Google's phone number library. |
details.firstNameInKana | First name in Katakana (required for from JPY personal transfers) | Text (Katakana) | Must be in katakana with double width space or standard spaces only. ([\p{InKatakana} \u3000]+ ) |
details.lastNameInKana | Last name in Katakana (required for from JPY personal transfers) | Text (Katakana) | Must be in katakana with double width space or standard spaces only. ([\p{InKatakana} \u3000]+ )Create a personal profile with the KYC data verified by the bank. |
Request Body
{"type"=>"personal", "details"=>{"firstName"=>"{{$randomFirstName}}", "lastName"=>"{{$randomLastName}}", "dateOfBirth"=>"1990-01-10", "phoneNumber"=>"+447921123458"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"id":16034418,"type":"personal","details":{"firstName":"Joe","lastName":"Bloggs","dateOfBirth":"1990-01-10","phoneNumber":"+447921123458","avatar":null,"occupation":null,"occupations":null,"primaryAddress":37034374}}