List all merchants
get
https://<PayEngine-host>
/api/merchant
Get merchants
Node.js
1
​
2
var config = {
3
method: 'get',
4
url: 'http://<PayEngine-host>/api/merchant',
5
headers: {
6
'accept': 'application/json',
7
'Authorization': 'Basic {{YOUR_API_SECRET}}'
8
}
9
};
10
​
11
axios(config)
12
.then(function (response) {
13
console.log(JSON.stringify(response.data));
14
})
15
.catch(function (error) {
16
console.log(error);
17
});
Copied!
Copy link