curl --request GET \
--url https://api.cashful.africa/api/canary/webhook-endpoints \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "webhook_001",
"merchantId": "merchant_456",
"url": "https://example.com/webhooks",
"events": [
"checkout.session.completed",
"purchase.succeeded",
"transfer.completed"
],
"active": true,
"metadata": {
"environment": "production"
},
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z",
"deletedAt": null
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 3,
"hasMore": false
}
}Lists all configured webhook endpoints
curl --request GET \
--url https://api.cashful.africa/api/canary/webhook-endpoints \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "webhook_001",
"merchantId": "merchant_456",
"url": "https://example.com/webhooks",
"events": [
"checkout.session.completed",
"purchase.succeeded",
"transfer.completed"
],
"active": true,
"metadata": {
"environment": "production"
},
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z",
"deletedAt": null
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 3,
"hasMore": false
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant whose webhooks are being requested. If omitted, defaults to the authenticated merchant.
Maximum number of records to return
Number of records to skip