Skip to main content

Query user account info

Query user account info

Request Body required

Query user Zalopay account info

  • request_id string

    Client request identity, using for tracing request

  • app_id int64 required

    The unique ID of the partner will be provided after the partner registered successfully with Zalopay

  • phone string required

    The user's phone

  • time int64 required

    Requests timestamp in ms

  • mac string required

    It is signature of order. It’s calculated by following input: hmacInput = (app_id + “|” + phone + “|” + time) and use sha256 with app’s hmac key.

    Please refer to secure data transmission for detailed information.

Responses

OK


Schema
  • return_code integer

    1 - SUCCESS

    2 - FAIL

  • return_message string

    Return code description

  • sub_return_code integer

    -101 - User wallet account not exists

    -401 - Request param illegal

    -402 - Unauthorized

    -500 - Zalopay system error

    -503 - The system is maintenance

    -1011 - User wallet account has been locked

  • sub_return_message string

    Sub return code description

  • data object
  • reference_id string

    Zalopay reference id

  • m_u_id string

    User’s identity in Zalopay system

  • name string

    User’s full name

  • phone string

    User's phone

  • onboarding_url string

    "Zalopay middle_page url to onboard new users" "Displayed when receiving return_code =2 && sub_return_code = -101"

Loading...