跳到主要内容

批量出金 Webhook

批量出金 Webhook 用于通知批量任务的审核和状态变化。

事件列表

事件说明
batch.review.pending_review批量任务等待审核
batch.review.approved批量任务审核通过
batch.review.returned批量任务被退回
batch.review.rejected批量任务被拒绝
batch.status.changed批量任务状态变化

处理建议

批量任务需要同时关注:

  1. 批量任务整体状态
  2. 每个 item 的执行结果
  3. 每个 item 关联的 payout_id

收到批量 Webhook 后,建议调用:

GET /payment/crypto-mass-payout/batches/{batch_id}
GET /payment/crypto-mass-payout/batches/{batch_id}/items

用于确认任务和明细状态。

幂等

商户应按 event_idbatch_idbatch_id + event_type 做幂等。