DELETE https://api.ninjapay.me/webextension/api/v1/fiat/realtime-payment-link/link/template/template_id
{
"status": true,
"data": [],
"message": "Template deleted successfully!"
}
const options = {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'x-api-key':'API_KEY'
}
};
fetch('https://api.ninjapay.me/webextension/api/v1/fiat/realtime-payment-link/template/TEMPmXXXXXXXXXXXXX', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));