Skip to main content

Query the basic user info

Query the basic user info

Request Body required

Agreement Query User Info

  • app_id int64 required

    The unique ID of the application will be provided after the merchant registered successfully with Zalopay.

  • access_token string

    The access token of the user after binding success.(This is pay_token value)

  • req_date int64 required

    Current timestamp in milliseconds.

  • mac string required

    It is signature of request. It's calculated by following input: hmacinput = app_id + | + access_token + | + req_date; and use sha256 with app's hmac key as sign key.

    Please refer to secure data transmission for detailed information.

Responses

OK


Schema
  • return_code integer

    Return codes: 1: Success, 2: Failed, 3: Processing

  • return_message string
  • sub_return_code integer
  • sub_return_message string
  • phone string

    "Masked phone of user. For example: ****1234."

Loading...