Customs 相关的 Event 类型

该类型的 Event 对象会在 Customs 付款成功后触发,以 Webhooks 形式发送至客户配置的 Webhooks URL 。详情请参考 Events 事件

事件类型描述
customs.succeeded报关对象,报关成功时触发。

示例对象

 {
    "id": "evt_14201611031154010770",
    "created": 1478145460,
    "livemode": true,
    "type": "customs.succeeded",
    "data": {
        "object": {
        "amount": 999999,
        "app_id": "app_LibTW1n1xxxxxxxx",
        "channel": "upacp",
        "charge_id": "ch_XLGWTCnn5iPCWz0LK4yjfbv1",
        "created": 1478145241,
        "customs_code": "GUANGZHOU",
            "extra": {
                "certif_id": "41282119910910xxxx",
                "certif_type": "01",
                "customer_name": "张小明",
                "pay_account": "张小明",
                "tax_amount": "101"
              },
        "id": "14201611031154019772",
        "is_split": true,
        "object": "customs",
        "status": "succeeded",
        "sub_order_no": "P327932738",
        "time_succeeded": 1478145460,
        "trade_no": "37878347380",
        "transaction_no": "12345678",
        "transport_amount": 0
        }
    },
        "object": "event",
        "request": "",
        "pending_webhooks": 0
}