Update Account Details
This API will update account information by username.
Path: /api/v1/account/updateAccountDetails
Method: POST
Content-Type
application/json
Headers
authorization
string
YES
Authorization Header
Body
api_key
string
YES
api key
request_id
string
YES
Unique id; the shortest is 20 characters, the longest is 64 characters
timestamp
string
YES
13-digit; Valid for plus or minus 30 seconds
username
string
YES
Unique username of the account. Max character length can be 10, alphabets and number only
first_name
string
YES
First name of the account. Max character length can be 12. Alphabets and spaces only
middle_name
string
Optional
Account's middle name.Max character length can be 12. Alphabets and spaces only
last_name
string
YES
Last name of the account. Max character length can be 12. Alphabets and spaces only
title
string
YES
Mr、 Mrs、 Ms
string
YES
Email address of the account. Must be unique.
mobile_number
string
YES
Account's mobile number. Max 15 digits allowed. Must be Unique.
gender
string
YES
Male、Female
country_code
string
YES
2 digit ISO country code where the account resides.
country
string
YES
Country where the account resides.
date_of_birth
string
YES
Minimum age is 18; Date Format: YYYY-MM-DD
calling_code
string
YES
Mobile number prefix.Do not use "+".Ex:1 for US、 91 for IN
calling_country_code
string
YES
2 digit ISO country code. Must coinside with callingCode.
state
string
YES
Account's address state.
city
string
YES
Account's address city.
postal_code
string
YES
City postal code.
address
string
YES
Account's residence address. Alphabets and number #.-()/,Only
secondary_address
string
Optional
Second line address of the account. Alphabets and number #.-()/,Only
sign
string
YES
sign: MD5(api_key+username+timestamp+secret+request_id)lowercase hex
Example
{ api_key: 'fd01a53d7834b06c080cd1024ae9c60a', request_id: 'a68db1eadee74925a89560f0702a106a', timestamp: '1682502756218', username: 'lili12', title: 'Mr', first_name: 'lilia', middle_name: 'lilia', last_name: 'lilia', email: '[email protected]', mobile_number: '12345621', calling_code: '852', date_of_birth: '2010-10-10', address: 'aaab', secondary_address: 'aaab', country: 'Hongkong', state: 'aaab', city: 'aaab', postal_code: '10011', country_code: 'HK', calling_country_code: 'HK', gender: 'Female', sign: 'd3e967f9db7e6206939ef72694d170f8' }signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili12168250275621816388ce4331b35e8e0d32777ba57d7d9a68db1eadee74925a89560f0702a106a)
Response
code
number
Response code
msg
string
Response message
Example
{ "code": 10200, "msg": "ok" }
Last updated