Documentation Index Fetch the complete documentation index at: https://docs.yabetoopay.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
GET https://pay.sandbox.yabetoopay.com/v1/account/{accountId}/webhooks # Sandbox
GET https://pay.api.yabetoopay.com/v1/account/{accountId}/webhooks # Production
Authentication
Use your secret key in the Authorization header:
Authorization: Bearer YOUR_SECRET_KEY
Path Parameters
Parameter Type Description accountIdstringYour account ID
Query Parameters
Parameter Type Description limitintegerNumber of items per page (default: 10, max: 100) pageintegerPage number (starts at 1) statusstringFilter by status
Example Request
cURL
JavaScript
Python
PHP
Java
curl "https://pay.sandbox.yabetoopay.com/v1/account/YOUR_ACCOUNT_ID/webhooks?limit=10&page=1" \
-H "Authorization: Bearer YOUR_SECRET_KEY"
Response
200 OK
{
"data" : [
{
"id" : "whk_123456789" ,
"object" : "webhook" ,
"url" : "https://example.com/webhooks" ,
"description" : "Production webhook" ,
"status" : "active" ,
"enabled_events" : [
"intent.completed" ,
"disbursement.completed"
],
"metadata" : {
"environment" : "production"
},
"created_at" : "2023-05-12T10:12:32Z" ,
"last_error" : null ,
"stats" : {
"successful_deliveries" : 150 ,
"failed_deliveries" : 2 ,
"average_response_time" : 245
}
}
],
"meta" : {
"total" : 25 ,
"page" : 1 ,
"limit" : 10 ,
"pages" : 3
}
}
Available Status Filters
Status Description activeActive webhooks disabledManually disabled webhooks failedWebhooks disabled after failures
401 Unauthorized
{
"message" : "Unauthorized"
}