Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
Returns aggregated payment statistics grouped by gateway. Includes success rates, payment counts by status, and total amounts processed. Useful for analytics dashboards.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
itemsobject[]RequiredStatistics grouped by gateway.
Statistics for a single gateway.
gatewayCodestringRequiredGateway instance code.
gatewayNamestringRequiredProvider name.
totalPaymentsnumberRequiredTotal number of payment attempts.
paidPaymentsnumberRequiredNumber of successful payments.
failedPaymentsnumberRequiredNumber of failed/cancelled payments.
pendingPaymentsnumberRequiredNumber of pending payments.
totalAmountnumberRequiredTotal amount from successful payments.
successRatenumberRequiredSuccess rate as percentage (0-100).
itemCountnumberRequiredNumber of gateways with statistics.
{
"items": [
{
"gatewayCode": "example_gatewayCode",
"gatewayName": "example_gatewayName",
"totalPayments": 0,
"paidPayments": 0,
"failedPayments": 0,
"pendingPayments": 0,
"totalAmount": 0,
"successRate": 0
}
],
"itemCount": 0
}GET /bff/payment-gateway/stats
curl -X GET "https://api.bizkithub.com/bff/payment-gateway/stats" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.