getMerchantInfo
Mô tả
To get merchant information. Please contact Zalopay Team.
Parameters
| Param | Data type | Required | Description |
|---|---|---|---|
| appId | number | Yes | payment Id |
Return Value
| Param | Data type | Description |
|---|---|---|
| muid | string | merchant user id |
Error Code
| Error Code | Description |
|---|---|
| 030101 | invalid appId |
| 030102 | merchant 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"
}