Passer au contenu principal
DELETE
/
payouts
/
{id}
NodeJs
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 = {});

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
integer
requis

Payout ID.

Réponse

Payout deleted successfully.