API Documentation
- Introduction to the FedaPay API
- Customers
- Collect
- Payouts
- Events
- Balances
- Currencies
- Logs
- Webhooks
Webhooks
Get all webhooks
GET
/
webhooks
Copy
const { FedaPay, Webhook } = 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');
/* Show webhooks */
const webhook = await Webhook.all( params = {}, headers = {} );
Copy
[
{
"id": 123,
"url": "<string>",
"enabled": true,
"ssl_verify": true,
"disable_on_error": true,
"account_id": 123,
"http_headers": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
List of webhook
The response is of type object[]
.
Copy
const { FedaPay, Webhook } = 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');
/* Show webhooks */
const webhook = await Webhook.all( params = {}, headers = {} );
Copy
[
{
"id": 123,
"url": "<string>",
"enabled": true,
"ssl_verify": true,
"disable_on_error": true,
"account_id": 123,
"http_headers": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
Assistant
Responses are generated using AI and may contain mistakes.