Remove Invoice

This endpoint is used to remove invoice & its details

Method

DELETE https://api.ninjapay.me/webextension/api/v1/fiat/invoice/remove-invoice

Request Parameter

invoice_uuid : (string, required) - Add Invoice uuid

Response

{
    "status": true,
    "data": {},
    "message": "Invoice removed successfully"
}

Code Example


const options = {
  method: 'DELETE',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'API_KEY' //Invoice key required
  }
};

fetch('https://api.ninjapay.me/webextension/api/v1/fiat/invoice/remove-invoice', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
  

Last updated