---
updatedAt: 2026-08-07T02:26:07.000Z
agentTools:
  projectIndex: https://developer.qbitnetwork.com/llms.txt
---

# 触发负数预警Webhook

在沙盒环境中手动触发负数预警Webhook的接口。支持三种事件类型：
- `NEGATIVE-CHARGE-BILLING-DETAILS`: 每月 2/16 平账账单通知
- `NEGATIVE-BILLING-DETAILS`: 每月 1/15 欠款账单通知
- `DAILY-NEGATIVE-ACCOUNT-REPORT`: 每日账户维度欠款汇总

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "测试",
    "description": "接口开发者文档",
    "version": "v3"
  },
  "externalDocs": {
    "description": "接口开发者",
    "url": "https://developer.qbitnetwork.com/"
  },
  "servers": [
    {
      "url": "https://api-sandbox.qbitnetwork.com",
      "description": "沙箱环境"
    }
  ],
  "paths": {
    "/open-api/v3/sandbox/negative-balance/webhooks/trigger": {
      "post": {
        "tags": [
          "测试"
        ],
        "summary": "触发负数预警Webhook",
        "description": "在沙盒环境中手动触发负数预警Webhook的接口。支持三种事件类型：\n- `NEGATIVE-CHARGE-BILLING-DETAILS`: 每月 2/16 平账账单通知\n- `NEGATIVE-BILLING-DETAILS`: 每月 1/15 欠款账单通知\n- `DAILY-NEGATIVE-ACCOUNT-REPORT`: 每日账户维度欠款汇总",
        "operationId": "triggerWebhook",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NegativeBalanceWebhookTriggerDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResult"
                },
                "example": {
                  "code": "0",
                  "message": "success",
                  "data": null
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResult"
                },
                "example": {
                  "code": "40001",
                  "message": "Invalid parameter"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResult": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "错误码",
            "example": "400001"
          },
          "message": {
            "type": "string",
            "description": "错误信息",
            "example": "参数无效"
          }
        }
      },
      "NegativeBalanceWebhookTriggerDTO": {
        "required": [
          "eventType"
        ],
        "type": "object",
        "properties": {
          "eventType": {
            "type": "string",
            "description": "事件类型。支持：NEGATIVE-CHARGE-BILLING-DETAILS, NEGATIVE-BILLING-DETAILS, DAILY-NEGATIVE-ACCOUNT-REPORT"
          },
          "accountIds": {
            "type": "array",
            "description": "指定处理的客户账户ID列表（可选）",
            "items": {
              "type": "string",
              "description": "指定处理的客户账户ID列表（可选）"
            }
          },
          "executeDate": {
            "type": "string",
            "description": "指定执行日期，格式 yyyy-MM-dd（可选）"
          }
        },
        "description": "负数预警触发请求"
      },
      "ApiResult": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "业务码，000000 表示成功",
            "example": "000000"
          },
          "message": {
            "type": "string",
            "description": "消息描述",
            "example": "成功"
          },
          "data": {
            "type": "object",
            "description": "响应数据，错误时为 null"
          }
        },
        "description": "标准 API 响应包装器"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "API密钥",
        "name": "x-access-token",
        "in": "header"
      }
    }
  }
}
```