Onboarding Foreign API Spc » History » Version 9
Ryan Supawarapong, 03/05/2026 06:27 AM
| 1 | 1 | Ryan Supawarapong | # Onboarding Foreign API Spc |
|---|---|---|---|
| 2 | |||
| 3 | 4 | Ryan Supawarapong | ## 1. Pre-Create (Fullname) |
| 4 | 2 | Ryan Supawarapong | |
| 5 | | Type | Value | |
||
| 6 | 1 | Ryan Supawarapong | |---|---| |
| 7 | 2 | Ryan Supawarapong | | API Path | `/api/v1/foreign/individual/ico/precreate` | |
| 8 | | Request Type | `POST` | |
||
| 9 | | Content-Type | `application/json` | |
||
| 10 | 1 | Ryan Supawarapong | |
| 11 | ### Request Body |
||
| 12 | |||
| 13 | 2 | Ryan Supawarapong | | Key | Type | Example | Required | |
| 14 | |---|---|---|---| |
||
| 15 | | title | string | `"Mr."` | yes | |
||
| 16 | | name | string | `"John"` | yes | |
||
| 17 | 1 | Ryan Supawarapong | | surname | string | `"Doe"` | yes | |
| 18 | 2 | Ryan Supawarapong | | email | string | `"john@doe.com"` | yes | |
| 19 | | mobile | string | `"0987654321"` | yes | |
||
| 20 | 4 | Ryan Supawarapong | | birthDate | string (ISO 8601) | `"1990-01-01T00:00:00Z"` | yes | |
| 21 | 2 | Ryan Supawarapong | | marriageStatus | string | `"Single"` | yes | |
| 22 | | nationality | string | `"USA"` | yes | |
||
| 23 | | passportNumber | string | `"AC123435"` | yes | |
||
| 24 | 4 | Ryan Supawarapong | | expirationDate | string (ISO 8601) | `"2030-01-01T00:00:00Z"` | yes | |
| 25 | 2 | Ryan Supawarapong | | agreement | boolean | `true` | yes | |
| 26 | 1 | Ryan Supawarapong | |
| 27 | ### Success Response (200) |
||
| 28 | |||
| 29 | 2 | Ryan Supawarapong | | JSON Path | Type | Example | Required | |
| 30 | |---|---|---|---| |
||
| 31 | | status | string | `"success"` | yes | |
||
| 32 | 4 | Ryan Supawarapong | | data | object | `{"registerId":"..."}` | yes | |
| 33 | | data.registerId | string | `"registerId"` | no (`omitempty`) | |
||
| 34 | 1 | Ryan Supawarapong | | data.alreadyExist | boolean | `true` | no (`omitempty`) | |
| 35 | | xid | string | `"xRequestId"` | yes | |
||
| 36 | |||
| 37 | ### Error Response |
||
| 38 | |||
| 39 | 4 | Ryan Supawarapong | #### Bad Request (400) — bind/validate/usecase error |
| 40 | | JSON Path | Type | Example | Required | |
||
| 41 | |---|---|---|---| |
||
| 42 | | status | string | `"failed"` or `"error"` | yes | |
||
| 43 | | message | string | `"error message"` | no | |
||
| 44 | | data | object | `{"errors":[...]}` | no (validation) | |
||
| 45 | | xid | string | `"xRequestId"` | yes | |
||
| 46 | |||
| 47 | --- |
||
| 48 | |||
| 49 | ## 2. Back to Register |
||
| 50 | |||
| 51 | | Type | Value | |
||
| 52 | |---|---| |
||
| 53 | | API Path | `/api/v1/foreign/individual/ico/backregister` | |
||
| 54 | | Request Type | `POST` | |
||
| 55 | | Content-Type | `application/json` | |
||
| 56 | |||
| 57 | ### Request Body |
||
| 58 | |||
| 59 | | Key | Type | Example | Required | |
||
| 60 | |---|---|---|---| |
||
| 61 | 7 | Ryan Supawarapong | | passportNumber | string | `"AC1234"` | yes | |
| 62 | 4 | Ryan Supawarapong | |
| 63 | ### Success Response (200) |
||
| 64 | |||
| 65 | | JSON Path | Type | Example | Required | |
||
| 66 | |---|---|---|---| |
||
| 67 | | response | object | existing customer info object | yes | |
||
| 68 | | xid | string | `"xRequestId"` | yes | |
||
| 69 | |||
| 70 | ### Error Response |
||
| 71 | |||
| 72 | 1 | Ryan Supawarapong | #### Bad Request (400) |
| 73 | | JSON Path | Type | Example | Required | |
||
| 74 | |---|---|---|---| |
||
| 75 | 4 | Ryan Supawarapong | | message | string | `"error message"` | yes | |
| 76 | | xid | string | `"xRequestId"` | yes | |
||
| 77 | 1 | Ryan Supawarapong | |
| 78 | 4 | Ryan Supawarapong | --- |
| 79 | |||
| 80 | ## 3. Init Appman |
||
| 81 | |||
| 82 | | Type | Value | |
||
| 83 | |---|---| |
||
| 84 | | API Path | `/api/v1/foreign/appman/init/:registerId` | |
||
| 85 | | Request Type | `GET` | |
||
| 86 | | Content-Type | `application/json` | |
||
| 87 | |||
| 88 | ### Query Parameters |
||
| 89 | |||
| 90 | | Key | Type | Example | Required | |
||
| 91 | |---|---|---|---| |
||
| 92 | | registerId | string | `"registerId-12345"` | yes | |
||
| 93 | |||
| 94 | ### Request Body |
||
| 95 | |||
| 96 | | Key | Type | Example | Required | |
||
| 97 | |---|---|---|---| |
||
| 98 | | - | - | - | no body | |
||
| 99 | |||
| 100 | ### Success Response (200) |
||
| 101 | |||
| 102 | 1 | Ryan Supawarapong | | JSON Path | Type | Example | Required | |
| 103 | |---|---|---|---| |
||
| 104 | 4 | Ryan Supawarapong | | redirect_url | string | `"https://appman.test"` | yes | |
| 105 | | xid | string | `"xRequestID"` | yes | |
||
| 106 | |||
| 107 | ### Error Response |
||
| 108 | |||
| 109 | #### Bad Request (400) |
||
| 110 | | JSON Path | Type | Example | Required | |
||
| 111 | |---|---|---|---| |
||
| 112 | | message | string | `"registerId is required"` | yes | |
||
| 113 | | xid | string | `"xRequestId"` | yes | |
||
| 114 | |||
| 115 | --- |
||
| 116 | |||
| 117 | 1 | Ryan Supawarapong | |
| 118 | 8 | Ryan Supawarapong | ## 4) Get Result Appman |
| 119 | |||
| 120 | 4 | Ryan Supawarapong | | Type | Value | |
| 121 | 1 | Ryan Supawarapong | |---|---| |
| 122 | 4 | Ryan Supawarapong | | API Path | `/api/v1/foreign/appman/result` | |
| 123 | 8 | Ryan Supawarapong | | Method | `POST` | |
| 124 | 4 | Ryan Supawarapong | | Content-Type | `application/json` | |
| 125 | 1 | Ryan Supawarapong | |
| 126 | 9 | Ryan Supawarapong | ### Request Parameter |
| 127 | 1 | Ryan Supawarapong | |
| 128 | 8 | Ryan Supawarapong | | Key | Type | Required | |
| 129 | |---|---|---| |
||
| 130 | | verifyid | string | yes | |
||
| 131 | | verified | boolean | no | |
||
| 132 | | isSkipAmlo | boolean | no | |
||
| 133 | | isSkipPep | boolean | no | |
||
| 134 | | isSkipLed | boolean | no | |
||
| 135 | | isSkipDopa | boolean | no | |
||
| 136 | | isMobile | boolean | no | |
||
| 137 | 1 | Ryan Supawarapong | |
| 138 | 8 | Ryan Supawarapong | ### Success (200) |
| 139 | |||
| 140 | | JSON Path | Type | Required | |
||
| 141 | |---|---|---| |
||
| 142 | | response | string | yes | |
||
| 143 | | xid | string | yes | |
||
| 144 | |||
| 145 | ### Error (400) |
||
| 146 | |||
| 147 | | JSON Path | Type | Required | |
||
| 148 | |---|---|---| |
||
| 149 | | message | string | yes | |
||
| 150 | | xid | string | yes | |
||
| 151 | 4 | Ryan Supawarapong | |
| 152 | 6 | Ryan Supawarapong | *** |
| 153 | |||
| 154 | 4 | Ryan Supawarapong | ## 5. Submit CRS |
| 155 | |||
| 156 | | Type | Value | |
||
| 157 | |---|---| |
||
| 158 | | API Path | `/api/v1/foreign/individual/ico/crs` | |
||
| 159 | | Request Type | `POST` | |
||
| 160 | | Content-Type | `application/json` | |
||
| 161 | |||
| 162 | ### Request Body |
||
| 163 | |||
| 164 | | Key | Type | Example | Required | |
||
| 165 | |---|---|---|---| |
||
| 166 | | registerId | string | `"registerId"` | yes | |
||
| 167 | | crs | array\<object\> | `[{"member_id":"...","is_tax_not_usa":true,...}]` | yes | |
||
| 168 | | crs[].member_id | string | `"member-001"` | no | |
||
| 169 | | crs[].is_tax_not_usa | boolean | `true` | no | |
||
| 170 | | crs[].country_tax_residence | string | `"US"` | no | |
||
| 171 | | crs[].is_tin | boolean | `true` | no | |
||
| 172 | | crs[].tin | string | `"123456789"` | no | |
||
| 173 | |||
| 174 | ### Success Response (200) |
||
| 175 | |||
| 176 | | JSON Path | Type | Example | Required | |
||
| 177 | |---|---|---|---| |
||
| 178 | | xid | string | `"xRequestId"` | yes | |
||
| 179 | |||
| 180 | ### Error Response |
||
| 181 | |||
| 182 | #### Bad Request (400) |
||
| 183 | | JSON Path | Type | Example | Required | |
||
| 184 | |---|---|---|---| |
||
| 185 | | message | string | `"error message"` | yes | |
||
| 186 | | xid | string | `"xRequestId"` | yes | |
||
| 187 | |||
| 188 | --- |
||
| 189 | |||
| 190 | ## 6. Post-Create (Basic Info — Create) |
||
| 191 | |||
| 192 | | Type | Value | |
||
| 193 | |---|---| |
||
| 194 | | API Path | `/api/v1/foreign/individual/ico/postcreate` | |
||
| 195 | | Request Type | `POST` | |
||
| 196 | | Content-Type | `application/json` | |
||
| 197 | |||
| 198 | ### Request Body |
||
| 199 | |||
| 200 | | Key | Type | Example | Required | |
||
| 201 | |---|---|---|---| |
||
| 202 | | registerId | string | `"registerId"` | yes | |
||
| 203 | | addresses | array\<object\> | see below | no | |
||
| 204 | | addresses[].homeNumber | string | `"homeNumber"` | yes | |
||
| 205 | | addresses[].villageNumber | string | `"homeAddress"` | no | |
||
| 206 | | addresses[].villageName | string | `"villageName"` | no | |
||
| 207 | | addresses[].subStreetName | string | `"subStreetName"` | no | |
||
| 208 | | addresses[].streetName | string | `"homeAddress"` | no | |
||
| 209 | | addresses[].subDistrictName | string | `"ตลาดยอด"` | yes | |
||
| 210 | | addresses[].districtName | string | `"เขตมีนบุรี"` | yes | |
||
| 211 | | addresses[].provinceName | string | `"ตราด"` | yes | |
||
| 212 | | addresses[].zipCode | string | `"10400"` | yes | |
||
| 213 | | addresses[].countryName | string | `"หมู่เกาะอะแลนด์"` | yes | |
||
| 214 | | addresses[].types | number | `1` | yes | |
||
| 215 | | occupation | object | see below | no | |
||
| 216 | | occupation.education | string | `"2"` | no | |
||
| 217 | | occupation.sourceOfIncome | string | `"3"` | no | |
||
| 218 | | occupation.currentOccupation | string | `"4"` | no | |
||
| 219 | | occupation.officeName | string | `"tisco"` | no | |
||
| 220 | | occupation.typeOfBusiness | string | `"6"` | no | |
||
| 221 | | occupation.positionName | string | `"tisco"` | no | |
||
| 222 | | occupation.salaryRange | string | `"3"` | no | |
||
| 223 | | banks | array\<object\> | see below | no | |
||
| 224 | | banks[].bankName | string | `"ธนาคารไทยพาณิชย์"` | no | |
||
| 225 | | banks[].bankBranchName | string | `"ธนาคารไทยพาณิชย์"` | no | |
||
| 226 | | banks[].bankAccountNumber | string | `"12345"` | no | |
||
| 227 | | banks[].types | number | `1` | no | |
||
| 228 | | banks[].isDefault | boolean | `true` | no | |
||
| 229 | | investment | object | see below | no | |
||
| 230 | | investment.shortTermInvestment | boolean | `true` | no | |
||
| 231 | | investment.longTermInvestment | boolean | `false` | no | |
||
| 232 | | investment.taxesInvestment | boolean | `true` | no | |
||
| 233 | | investment.retireInvestment | boolean | `true` | no | |
||
| 234 | | pageID | number | `100` | yes | |
||
| 235 | |||
| 236 | ### Success Response (200) |
||
| 237 | |||
| 238 | | JSON Path | Type | Example | Required | |
||
| 239 | |---|---|---|---| |
||
| 240 | | registerId | string | `"registerId"` | yes | |
||
| 241 | | xid | string | `"xRequestId"` | yes | |
||
| 242 | |||
| 243 | ### Error Response |
||
| 244 | |||
| 245 | #### Bad Request (400) |
||
| 246 | | JSON Path | Type | Example | Required | |
||
| 247 | |---|---|---|---| |
||
| 248 | | message | string | `"error message"` | yes | |
||
| 249 | | xid | string | `"xRequestId"` | yes | |
||
| 250 | |||
| 251 | --- |
||
| 252 | |||
| 253 | ## 7. Update Post (Basic Info — Edit) |
||
| 254 | |||
| 255 | | Type | Value | |
||
| 256 | |---|---| |
||
| 257 | | API Path | `/api/v1/foreign/individual/ico/update/post` | |
||
| 258 | | Request Type | `POST` | |
||
| 259 | | Content-Type | `application/json` | |
||
| 260 | |||
| 261 | ### Request Body |
||
| 262 | |||
| 263 | _Same as [6. Post-Create](#6-post-create-basic-info--create)._ |
||
| 264 | |||
| 265 | ### Success Response (200) |
||
| 266 | |||
| 267 | | JSON Path | Type | Example | Required | |
||
| 268 | |---|---|---|---| |
||
| 269 | | registerId | string | `"registerId"` | yes | |
||
| 270 | | xid | string | `"xRequestId"` | yes | |
||
| 271 | |||
| 272 | ### Error Response |
||
| 273 | |||
| 274 | #### Bad Request (400) |
||
| 275 | | JSON Path | Type | Example | Required | |
||
| 276 | |---|---|---|---| |
||
| 277 | | message | string | `"error message"` | yes | |
||
| 278 | | xid | string | `"xRequestId"` | yes | |
||
| 279 | |||
| 280 | --- |
||
| 281 | |||
| 282 | ## 8. Suite Test — Save |
||
| 283 | |||
| 284 | | Type | Value | |
||
| 285 | |---|---| |
||
| 286 | | API Path | `/api/v1/foreign/suitetest/ico/result/individual/save` | |
||
| 287 | | Request Type | `POST` | |
||
| 288 | | Content-Type | `application/json` | |
||
| 289 | |||
| 290 | ### Request Body |
||
| 291 | |||
| 292 | | Key | Type | Example | Required | |
||
| 293 | |---|---|---|---| |
||
| 294 | | registerId | string | `"registerId"` | yes | |
||
| 295 | | suiteTestResult | object | see below | no | |
||
| 296 | | suiteTestResult.registerId | string | `"registerId"` | yes | |
||
| 297 | | suiteTestResult.investorTypeRisk | string | `"เสี่ยงปานกลางค่อนสูง"` | no | |
||
| 298 | | suiteTestResult.level | number | `3` | no | |
||
| 299 | | suiteTestResult.totalScore | number | `24` | no | |
||
| 300 | | suiteTestResult.suiteTestResult | object | `{"answer":{"0":{"ans":[0,1,0,0]},...}}` | no | |
||
| 301 | | isFatca | boolean | `true` | no | |
||
| 302 | | fatcaInfo | array\<number\> | `[1,0,1,0,1,0,1,0]` | no | |
||
| 303 | | isKnowLedgeDone | boolean | `true` | no | |
||
| 304 | | knowLedgeTestResult | number | `15` | no | |
||
| 305 | | pageId | number | `600` | no | |
||
| 306 | |||
| 307 | ### Success Response (200) |
||
| 308 | |||
| 309 | | JSON Path | Type | Example | Required | |
||
| 310 | |---|---|---|---| |
||
| 311 | | xid | string | `"xRequestId"` | yes | |
||
| 312 | |||
| 313 | ### Error Response |
||
| 314 | |||
| 315 | #### Bad Request (400) |
||
| 316 | | JSON Path | Type | Example | Required | |
||
| 317 | |---|---|---|---| |
||
| 318 | | message | string | `"error message"` | yes | |
||
| 319 | | xid | string | `"xRequestId"` | yes | |
||
| 320 | |||
| 321 | --- |
||
| 322 | |||
| 323 | ## 9. Suite Test — Edit |
||
| 324 | |||
| 325 | | Type | Value | |
||
| 326 | |---|---| |
||
| 327 | | API Path | `/api/v1/foreign/suitetest/ico/result/individual/edit` | |
||
| 328 | | Request Type | `POST` | |
||
| 329 | | Content-Type | `application/json` | |
||
| 330 | |||
| 331 | ### Request Body |
||
| 332 | |||
| 333 | _Same as [8. Suite Test — Save](#8-suite-test--save)._ |
||
| 334 | |||
| 335 | ### Success Response (200) |
||
| 336 | |||
| 337 | | JSON Path | Type | Example | Required | |
||
| 338 | |---|---|---|---| |
||
| 339 | | xid | string | `"xRequestId"` | yes | |
||
| 340 | |||
| 341 | ### Error Response |
||
| 342 | |||
| 343 | #### Bad Request (400) |
||
| 344 | | JSON Path | Type | Example | Required | |
||
| 345 | |---|---|---|---| |
||
| 346 | | message | string | `"error message"` | yes | |
||
| 347 | | xid | string | `"xRequestId"` | yes | |
||
| 348 | |||
| 349 | --- |
||
| 350 | |||
| 351 | ## 10. Upload Onboarding Document |
||
| 352 | |||
| 353 | | Type | Value | |
||
| 354 | |---|---| |
||
| 355 | | API Path | `/api/v1/foreign/upload/onboarding` | |
||
| 356 | | Request Type | `POST` | |
||
| 357 | | Content-Type | `multipart/form-data` | |
||
| 358 | |||
| 359 | ### Request Body (form fields) |
||
| 360 | |||
| 361 | | Key | Type | Example | Required | |
||
| 362 | |---|---|---|---| |
||
| 363 | | register_id | string | `"register-id-123"` | yes | |
||
| 364 | | type | integer (enum) | `3` | yes | |
||
| 365 | | doc_types | string (comma-separated) | `"country_origin_govt,proof_resident_thai"` | yes | |
||
| 366 | | files | file(s) | binary | yes | |
||
| 367 | |||
| 368 | **`type` enum values:** |
||
| 369 | |||
| 370 | | Value | Meaning | Allowed `doc_types` | |
||
| 371 | |---|---|---| |
||
| 372 | | `1` | Work Permit | `work_permit` | |
||
| 373 | | `2` | Visa | `visa_or_smart_visa` | |
||
| 374 | | `3` | Document by Origin Govt | `country_origin_govt`, `proof_resident_thai` | |
||
| 375 | | `4` | Document by Thai Govt | `proof_resident_thai` | |
||
| 376 | |||
| 377 | **Constraints:** |
||
| 378 | - Max 4 files per `doc_type` (types 1, 2, 4) |
||
| 379 | - Type 3 allows max 8 files total (up to 4 `country_origin_govt` + up to 4 `proof_resident_thai`) |
||
| 380 | - Max 10 MB per file, 80 MB total |
||
| 381 | - Number of `doc_types` values must match number of uploaded files |
||
| 382 | |||
| 383 | ### Success Response (200) |
||
| 384 | |||
| 385 | | JSON Path | Type | Example | Required | |
||
| 386 | |---|---|---|---| |
||
| 387 | | status | string | `"success"` | yes | |
||
| 388 | | message | string | `"success"` | yes | |
||
| 389 | | xid | string | `"xRequestID"` | yes | |
||
| 390 | |||
| 391 | ### Error Response |
||
| 392 | |||
| 393 | #### Bad Request (400) — validation error |
||
| 394 | | JSON Path | Type | Example | Required | |
||
| 395 | |---|---|---|---| |
||
| 396 | | status | string | `"failed"` or `"error"` | yes | |
||
| 397 | | message | string | `"files field is required"` | no | |
||
| 398 | | data | object | `{"error":"..."}` | no | |
||
| 399 | | xid | string | `"xRequestId"` | yes | |
||
| 400 | |||
| 401 | --- |
||
| 402 | |||
| 403 | ## 11. Verify Email (Send) |
||
| 404 | |||
| 405 | | Type | Value | |
||
| 406 | |---|---| |
||
| 407 | | API Path | `/api/v1/foreign/user/verify/email` | |
||
| 408 | | Request Type | `POST` | |
||
| 409 | | Content-Type | `application/json` | |
||
| 410 | |||
| 411 | ### Request Body |
||
| 412 | |||
| 413 | | Key | Type | Example | Required | |
||
| 414 | |---|---|---|---| |
||
| 415 | | registerId | string | `"register-id-123"` | no | |
||
| 416 | | tokenId | string | `"token-id-123"` | yes | |
||
| 417 | |||
| 418 | ### Success Response (200) |
||
| 419 | |||
| 420 | | JSON Path | Type | Example | Required | |
||
| 421 | |---|---|---|---| |
||
| 422 | | xid | string | `"xRequestID"` | yes | |
||
| 423 | |||
| 424 | ### Error Response |
||
| 425 | |||
| 426 | #### Bad Request (400) |
||
| 427 | | JSON Path | Type | Example | Required | |
||
| 428 | |---|---|---|---| |
||
| 429 | | message | string | `"verify email failed"` | yes | |
||
| 430 | | xid | string | `"xRequestId"` | yes | |
||
| 431 | |||
| 432 | --- |
||
| 433 | |||
| 434 | ## 12. Confirm Email (Check) |
||
| 435 | |||
| 436 | | Type | Value | |
||
| 437 | |---|---| |
||
| 438 | | API Path | `/api/v1/foreign/user/verify/email/check` | |
||
| 439 | | Request Type | `GET` | |
||
| 440 | | Content-Type | `application/json` | |
||
| 441 | |||
| 442 | ### Query Parameters |
||
| 443 | |||
| 444 | | Key | Type | Example | Required | |
||
| 445 | |---|---|---|---| |
||
| 446 | | token | string | `"token-id-123"` | yes | |
||
| 447 | | code | string | `"register-id-123"` | yes | |
||
| 448 | |||
| 449 | ### Request Body |
||
| 450 | |||
| 451 | | Key | Type | Example | Required | |
||
| 452 | |---|---|---|---| |
||
| 453 | | - | - | - | no body | |
||
| 454 | |||
| 455 | ### Success Response (200) |
||
| 456 | |||
| 457 | | JSON Path | Type | Example | Required | |
||
| 458 | |---|---|---|---| |
||
| 459 | | data | string | `"confirmed"` | yes | |
||
| 460 | | xid | string | `"xRequestId"` | yes | |
||
| 461 | |||
| 462 | ### Error Response |
||
| 463 | |||
| 464 | #### Bad Request (400) |
||
| 465 | | JSON Path | Type | Example | Required | |
||
| 466 | |---|---|---|---| |
||
| 467 | | message | string | `"error message"` | yes | |
||
| 468 | | xid | string | `"xRequestId"` | yes | |
||
| 469 | |||
| 470 | --- |
||
| 471 | |||
| 472 | ## 13. Mobile Verify (Send OTP) |
||
| 473 | |||
| 474 | | Type | Value | |
||
| 475 | |---|---| |
||
| 476 | | API Path | `/api/v1/foreign/user/verify/mobile` | |
||
| 477 | | Request Type | `POST` | |
||
| 478 | | Content-Type | `application/json` | |
||
| 479 | |||
| 480 | ### Request Body |
||
| 481 | |||
| 482 | | Key | Type | Example | Required | |
||
| 483 | |---|---|---|---| |
||
| 484 | | registerId | string | `"registerId"` | yes | |
||
| 485 | | referenceCode | string | `"REF123"` | no | |
||
| 486 | | otp | string | `"123456"` | no | |
||
| 487 | | mobile | string | `"0987654321"` | no | |
||
| 488 | | isUpdate | boolean | `false` | no | |
||
| 489 | | pageId | number | `1600` | no | |
||
| 490 | |||
| 491 | ### Success Response (200) |
||
| 492 | |||
| 493 | | JSON Path | Type | Example | Required | |
||
| 494 | |---|---|---|---| |
||
| 495 | | reference | string | `"AB1234"` | yes | |
||
| 496 | | xid | string | `"xRequestID"` | yes | |
||
| 497 | |||
| 498 | ### Error Response |
||
| 499 | |||
| 500 | #### Bad Request (400) |
||
| 501 | | JSON Path | Type | Example | Required | |
||
| 502 | |---|---|---|---| |
||
| 503 | | message | string | `"error message"` | yes | |
||
| 504 | | xid | string | `"xRequestId"` | yes | |
||
| 505 | |||
| 506 | --- |
||
| 507 | |||
| 508 | ## 14. Confirm Mobile (Verify OTP) |
||
| 509 | |||
| 510 | | Type | Value | |
||
| 511 | |---|---| |
||
| 512 | | API Path | `/api/v1/foreign/user/verify/mobile/check` | |
||
| 513 | | Request Type | `POST` | |
||
| 514 | | Content-Type | `application/json` | |
||
| 515 | |||
| 516 | ### Request Body |
||
| 517 | |||
| 518 | | Key | Type | Example | Required | |
||
| 519 | |---|---|---|---| |
||
| 520 | | registerId | string | `"registerId"` | yes | |
||
| 521 | | referenceCode | string | `"AB1234"` | no | |
||
| 522 | | otp | string | `"123456"` | no | |
||
| 523 | | mobile | string | `"0987654321"` | no | |
||
| 524 | | isUpdate | boolean | `false` | no | |
||
| 525 | | pageId | number | `1600` | no | |
||
| 526 | |||
| 527 | ### Success Response (200) |
||
| 528 | |||
| 529 | | JSON Path | Type | Example | Required | |
||
| 530 | |---|---|---|---| |
||
| 531 | | xid | string | `"xRequestId"` | yes | |
||
| 532 | |||
| 533 | ### Error Response |
||
| 534 | |||
| 535 | #### Bad Request (400) |
||
| 536 | | JSON Path | Type | Example | Required | |
||
| 537 | |---|---|---|---| |
||
| 538 | | message | string | `"error message"` | yes | |
||
| 539 | | xid | string | `"xRequestId"` | yes | |