Skip to main content

getMerchantInfo

Note
Please contact Zalopay Team to be granted permission to use this functionality.

Mô tả​

To get merchant information. Please contact Zalopay Team.

Parameters​

ParamData typeRequiredDescription
appIdnumberYespayment Id

Return Value​

ParamData typeDescription
muidstringmerchant user id

Error Code​

Error CodeDescription
030101invalid appId
030102merchant info not found

Sample Code and Sample Return Data​

Sample Request:

  window.zlpSdk.User.getMerchantInfo({
appId: 999,
})
.then((response) => console.log(response))
.catch((error) => console.error(error.errorCode));

Sample Response:

{
"data": {
"muid": "UdYnuTIXm66LhzMdCc7YUXuQXfo4FqXXPTGzpKRN_xk"
},
"status": "success"
}