5.5 Query User

1. Overview

Use this API to inquire about the user's basic info.

2. Request Info

  • Method: post

  • Path: https://prod-openapi-v2.newpay.la/beta/mch/queryUserInfoByToken

2.1 Request Header

Key
Value

Content-Type

application/json

2.2 Request Data

Name
Description
Type
Required

appId

Unique identifier assigned to a third-party application platform

string

true

timestamp

timestamp when requesting

long

true

token

User session token for backend validation

string

true

sign

string

true

2.3 Response Data

Name
Description
Type

success

Success flag: true/false

boolean

message

Response message

string

code

string

timestamp

Response timestamp

long

data

Result

object

> appId

Unique identifier assigned to a third-party application platform

string

> nickName

user's nick name

string

> userMobile

user's mobile

string

> userId

user's id in newpay platform

long

> sign

Data signature

string

Last updated