Update Mailing Address

This API is used to update account mailing address.

  • Path: /api/v1/account/updateMailingAddress

  • Method: POST

  • Content-Type

    application/json

  • Headers

Key
Type
Required
Comments

authorization

string

YES

Authorization Header

  • Body

Key
Type
Required
Comments

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

mail_address

string

YES

Account's mailing address.

mail_secondary_address

string

Optional

Second line mailing address of the account.

mail_city

string

YES

mailing city.

mail_state

string

YES

mailing state.

mail_country

string

YES

mailing country.

mail_postal_code

string

YES

mailing postal code.

sign

string

YES

sign: MD5(api_key+username+timestamp+secret+request_id)lowercase hex

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: '5737eb4809b846e48ad15d4b8f97d98c',
      timestamp: '1682072257009',
      username: 'lili1',
      mail_address: 'aaa',
      mail_secondary_address: 'aaa',
      mail_city: 'aaa',
      mail_state: 'aaa',
      mail_country: 'aaa',
      mail_postal_code: 'aaa',
      sign: '6f411a001e7a15802acc4a8d6b2d51e5'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili1168207225700916388ce4331b35e8e0d32777ba57d7d95737eb4809b846e48ad15d4b8f97d98c)

  • Response

Key
Type
Comments

code

number

Response code

msg

string

Response message

  • Example

    {
      "code": 10200,
      "msg": "ok"
    }

Last updated