| 项目 | 详情 |
|---|---|
| 触发条件 | 智书合同侧发起付款时,触发此事件 |
| 事件类型 | contract.contract.payment.create_v1 |
| 权限要求 | 获取合同信息 |
| 推送方式 | Webhook |
| 名称 | 类型 | 描述 |
|---|---|---|
| schema | String | 事件模式 |
| header | event_header | 事件头 |
| - event_id | String | 事件 ID |
| - event_type | String | 事件类型 |
| - create_time | String | 事件创建时间戳(单位:毫秒) |
| - token | String | 事件 Token |
| - app_id | String | 应用 ID |
| - tenant_key | String | 租户 Key |
| event | - | - |
| - business_type_code | Integer | 合同业务类型编码 |
| - contract_id | String | 合同id |
| - group_id | String | 分组id |
| - contract_number | String | 合同编号 |
| - has_invoice | Boolean | 是否有开票 |
| - apply_time | String | 申请时间,秒级时间戳 |
| - apply_user_id | - | 付款申请者 |
| - - union_id | String | 用户的 union id |
| - - user_id | String | 用户的 user id |
| - - open_id | String | 用户的 open id |
| - payment_id | String | 付款id |
{
"schema": "2.0",
"header": {
"tenant_key": "13cadb96d0cf174f",
"create_time": "1624948416000",
"token": "Up1pZ8R4j4bXos0Ti7Y3gdnl20qc0gMK",
"event_id": "05f261f73351d98daaf7beb8927e00d6",
"event_type": "contract.contract.payment.create_v1",
"app_id": "cli_a025efb86fb8d01c"
},
"event": {
"business_type_code": 0,
"contract_id": "6978818993482105132",
"has_invoice": true,
"apply_time": "1624948416",
"contract_number": "CT20210628000003",
"apply_user_id": {
"union_id": "on_8ed6aa67826108097d9ee143816345",
"user_id": "e33ggbyz",
"open_id": "ou_84aad35d084aa403a838cf73ee18467"
},
"group_id": "6978818994006409516",
"payment_id": "6978818993482105111"
}
}