Parameters
1 query
Query parameters
· 1codestringRequiredGateway instance code.
Example
comgateRuns a full health check of the gateway: stored credentials, live connection to the provider (incl. IP-whitelist detection), production mode, order-group routing, invoice issuer and recent payment traffic. Each check carries a stable code the admin maps to an explanation and fix steps.
1 query
codestringRequiredGateway instance code.
comgate1 status code documented
status"ok" | "info" | "warning" | "error"RequiredWorst status across all checks (info never degrades it).
checksobject[]RequiredcodestringRequiredStable check identifier.
connection-ip-blockedstatus"ok" | "info" | "warning" | "error"RequiredparamsobjectRequiredValues for the explanation template.
detailstringOptionalRaw provider or log message.
provider"gopay" | "comgate" | "stripe"Requiredenvironment"p" | "s" | "t"RequiredmerchantIdstringOptionalserverobjectRequiredoutboundIpstringRequiredIPv4 the provider sees BizKitHub calls coming from.
comgatePushUrlstringRequiredURL to set as Comgate "Url pro předání výsledku platby".
checkedAtstringRequiredISO timestamp of the check.
{
"checks": [
{
"code": "connection-ip-blocked",
"params": {},
"detail": "example_detail"
}
],
"merchantId": "example_merchantId",
"server": {
"outboundIp": "example_outboundIp",
"comgatePushUrl": "example_comgatePushUrl"
},
"checkedAt": "example_checkedAt"
}GET /bff/payment-gateway/diagnose
curl -X GET "https://api.bizkithub.com/bff/payment-gateway/diagnose?code=comgate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.