Get Account Details

This API will fetch account information by username. It will also provides the account's cards details

  • Path: /api/v1/account/getAccountDetails

  • 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

sign

string

YES

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

  • Example

    {
      api_key: 'fd01a53d7834b06c080cd1024ae9c60a',
      request_id: '00e997a61134495593da781375c6077a',
      timestamp: '1682500377467',
      username: 'lili12',
      sign: '1c1f0192613e5562f30dbb964c2e0bf0'
    }

    signature example:MD5(fd01a53d7834b06c080cd1024ae9c60alili12168250037746716388ce4331b35e8e0d32777ba57d7d900e997a61134495593da781375c6077a)

  • Response

Key
Type
Comments

code

number

Response code

msg

string

Response message

data

object

details

Key
Type
Comments

card_type

number

Card Type; 1:VISA 2:Mastercard 3:UnionPay

card_level

number

Card Level; 1: Premier; 2: Prestige

first_name

string

First name of the account. Max character length can be 12. Alphabets and spaces only

middle_name

string

Account's middle name. Max character length can be 12. Alphabets and spaces only

last_name

string

Last name of the account. Max character length can be 12. Alphabets and spaces only

username

string

Unique username of the account. Max character length can be 10, alphabets and number only

title

string

Account's title Mr、 Mrs、 Ms

email

string

Email address of the account. Must be unique.

mobile_number

string

Account's mobile number. Max 15 digits allowed. Must be Unique.

calling_code

string

Mobile number prefix.Do not use "+".Ex:1 for US、 91 for IN

card_holder_name

string

Name of the account displayed on the card. Max 23 characters. Alphanumeric and spaces only;

country_code

string

2 digit ISO country code where the account resides.

country

string

Country where the account resides.

date_of_birth

string

Minimum age is 18; Date Format: YYYY-MM-DD

calling_country_code

string

2 digit ISO country code. Must coinside with callingCode.

state

string

Account's address state.

city

string

Account's address city.

postal_code

string

City postal code.

address

string

Account's residence address. Alphabets and number #.-()/,Only

gender

string

Male、Female

secondary_address

string

Second line address of the account. Alphabets and number #.-()/,Only

mail_address

string

Account's mailing address. Required if is_same_address is false

mail_secondary_address

string

Second line mailing address of the account.

mail_city

string

mailing city. Required if is_same_address is false

mail_state

string

mailing state. Required if is_same_address is false

mail_country

string

mailing country. Required if is_same_address is false

mail_postal_code

string

mailing postal code. Required if is_same_address is false

card_list

Transaction list

object details

Key
Type
Comments

card_type

number

Card Type; 1:VISA 2:Mastercard 3:UnionPay

card_level

number

Card Level; 1: Premier; 2: Prestige

status

number

card status: 0:Inactive;1:Active;2:Block;3:Expired; 4:Cancelled

op_status

number

card operating status: 0: KYC Processing; 1: KYC Rejected; 2: KYC Approved; 3:Mailed; 4:Activated;5:blocked; 6:Cancelling; 7:Cancelled; 8:Card Error; 9:To Replace; 10:Pending Replacement; 11:Replaced;

kit_number

string

The kit number of the card which is available for assigning

string

Card number

expire_date

string

Expire date. Format: MM/YY

cvv

string

cvv

card_id

string

card uninque id

wallet_list

wallet list

object1 details

Key
Type
Comments

wallet_type

string

wallet Type: "TOPUP"

BEP20

string

BEP20 address

ERC20

string

ERC20 address

TRC20

string

TRC20 address

  • Example

    {
      "code": 10200,
      "msg": "ok",
      "data": {
        "card_type": 1,
        "card_level": 1,
        "first_name": "lilia",
        "middle_name": "lilia",
        "last_name": "lilia",
        "username": "TElili12",
        "title": "Mr",
        "email": "[email protected]",
        "mobile_number": "12345621",
        "calling_code": "86",
        "card_holder_name": "xx",
        "country_code": "HK",
        "country": "Hongkong",
        "date_of_birth": "2010-10-10",
        "calling_country_code": "HK",
        "state": "aaab",
        "city": "aaab",
        "postal_code": "10011",
        "address": "aaab",
        "gender": "Female",
        "secondary_address": '',
        "mail_address": 'aaabb',
        "mail_secondary_address": 'bb',
        "mail_city": 'aaabb',
        "mail_state": 'aaabb',
        "mail_country": 'China',
        "mail_postal_code": '10011',
        "card_list": [
          {
            "card_type": 1,
            "card_level": 1,
            "status": 1,
            "op_status": 1,
            "kit_number": "2000001745817458",
            "number": "4208490000177985",
            "expire_date": "08/27",
            "cvv": "XXX",
            "card_id": "5ce26a3b24754c0da3fbf833a49caf89",
            "wallet_list": [
              {
                "wallet_type": 'TOPUP',
                "BEP20": '0xA74842bd62db07d0B8aF65460b9902eCA19D3bD7',
                "ERC20": '0xA74842bd62db07d0B8aF65460b9902eCA19D3bD7',
                "TRC20": 'TMjUwju7v815WNmQGMAA8zdzv1wrzY42fc'
              }
            ]
          }
        ]
      }
    }

Last updated