Customer » Onboarding »
« Previous |
Revision 11/15
(diff)
| Next »
Ryan Supawarapong, 02/19/2026 04:05 AM
Onboarding API Spec¶
Table of content
Fullname¶
| Type |
Value |
| API Path |
/onboarding/v1/fullname |
| Request Type |
POST |
| Content-Type |
application/json |
Request Body¶
| Key |
Type |
Example |
Required |
title |
string |
"Mr." |
yes |
thName |
string |
"สมชาย" |
yes |
thMiddlename |
string |
"ใจดี" |
no |
thSurname |
string |
"รักดี" |
yes |
enName |
string |
"Somchai" |
yes |
enMiddlename |
string |
"Jaidee" |
no |
enSurname |
string |
"Rakdee" |
yes |
email |
string |
"somchai@example.com" |
yes |
mobile |
string |
"0812345678" |
yes |
citizenship |
integer |
764 |
yes |
response body¶
| Key |
Type |
example |
Required |
status |
string |
"success" |
yes |
xid |
string |
"c4336914-d359-4ca7-ba0f-edc51b9d27ee" |
yes |
data |
null |
null |
no |
Error Response (400)¶
| Key |
Type |
Example |
Required |
| error |
string |
"duplicate email, mobile" |
yes |
Diagram¶

Verify¶
| Type |
Value |
| API Path |
/onboarding/v1/verify/init |
| Request Type |
POST |
Request Body¶
| Key |
Type |
Example |
Required |
registerId |
string |
"c4336914-d359-4ca7-ba0f-edc51b9d27ee" |
yes |
email |
string |
"user@example.com" |
no |
mobile |
string |
"081234567890" |
no |
referenceCode |
string |
"REF123456" |
no |
otp |
string |
"123456" |
no |
isMobileVerify |
bool |
true |
no |
isEmailVerify |
bool |
false |
no |
ip |
string |
"203.0.113.10" |
no |
Example response body¶
Error Response (400)¶
Diagram¶
Address¶
| Type |
Value |
| API Path |
/onboarding/v1/TBA |
| Request Type |
TBA |
Request Body¶
| Key |
Type |
Example |
Required |
Example response body¶
| Key |
Type |
Example |
Required |
Error Response (400)¶
| Key |
Type |
Example |
Required |
Diagram¶
Knowledge Test¶
| Type |
Value |
| API Path |
/onboarding/v1/TBA |
| Request Type |
TBA |
Request Body¶
| Key |
Type |
Example |
Required |
Example response body¶
| Key |
Type |
Example |
Required |
Error Response (400)¶
| Key |
Type |
Example |
Required |
Diagram¶
Updated by Ryan Supawarapong about 2 months ago
· 15 revisions