Delete Payment Link

Delete a non usable payment link.

Method


DELETE https://api.ninjapay.me/webextension/api/v1/fiat/realtime-payment-link/link/link_id_here

Path Parameter

  • link_id : String- Link id which you want to delete.

Response

{
    "status": true,
    "data": [],
    "message": "Payment link deleted !"
}

Code Example


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/link/RTLmXXXXXXXXXXXXX', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
  

Last updated