Terminate a merchant
delete
https://<your_gateway_host>
/api/merchant/:id
Terminate a merchant
Node.js
1
var axios = require('axios');
2
​
3
var config = {
4
method: 'delete',
5
url: 'http://{{hostname}}/api/merchant/5aa49cc1-0117-462b-bf15-2049f4ffbac3',
6
headers: {
7
'accept': 'application/json',
8
'Authorization': 'Basic {{publicAPIKey}}'
9
}
10
};
11
​
12
axios(config)
13
.then(function (response) {
14
console.log(JSON.stringify(response.data));
15
})
16
.catch(function (error) {
17
console.log(error);
18
});
19
​
Copied!
Last modified 7mo ago
Copy link