const { FedaPay, Payout } = require('fedapay');/* Replace YOUR_SECRETE_API_KEY with your real API key */FedaPay.setApiKey("YOUR_SECRETE_API_KEY");/* Specify whether you want to run your query in test or live mode */FedaPay.setEnvironment('sandbox'); //or setEnvironment('live');/* delete a payout */const payout = await Payout.delete(params = {}, headers = {});
Payouts
Delete a payout.
DELETE
/
payouts
/
{id}
NodeJs
Copy
const { FedaPay, Payout } = require('fedapay');/* Replace YOUR_SECRETE_API_KEY with your real API key */FedaPay.setApiKey("YOUR_SECRETE_API_KEY");/* Specify whether you want to run your query in test or live mode */FedaPay.setEnvironment('sandbox'); //or setEnvironment('live');/* delete a payout */const payout = await Payout.delete(params = {}, headers = {});