錢包中台服務
    • 用户钱包
      • 创建用户钱包
        POST
      • 查询用户信息
        GET
      • 查询用户充值地址
        GET
    • 提现
      • 发起提现
        POST
      • 查询提现记录
        GET
      • 查询单笔提现
        GET
    • 地址订阅
      • 订阅监控地址
      • 修改订阅
      • 取消订阅
      • 查询订阅列表
    • Webhook 回调
      • 充值确认通知
      • 提现成功通知
      • 监控地址到账通知
      • 提现拒绝通知
    • 错误码
      • 错误码说明
    • 支持的链与币种
      • 链与币种说明
    • 租户余额
      • 查询所有币种余额
      • 查询单币种余额
    • Schemas
      • CreateAccountRequest
      • BaseResponse
      • WithdrawalApplyDTO
      • WatchAddressDTO
      • R_UserAccountResp
      • UserAccountResp
      • WithdrawalVO
      • R_WithdrawalRequest
      • PageResult_WithdrawalRequest
      • PageResult_WithdrawalVO
      • WithdrawalRequest
      • WalletAccountUser
      • R_Page_WithdrawalRequest
      • WebhookPayload_DepositConfirmed
      • WalletUserBalance
      • R_Object
      • WebhookPayload_WithdrawalSuccess
      • WatchAddressResp
      • WebhookPayload_WatchDeposit
      • TenantBalanceVO
      • WebhookPayload_WithdrawalEvent

    WebhookPayload_WithdrawalEvent

    提现事件通用 payload 结构,适用于以下事件:
    withdrawal.success: 提现链上确认成功
    withdrawal.rejected: 提现被管理员拒绝
    注意: 链上执行失败(内部 FAILED 状态)会自动重试,不推送 webhook。

    {
        "eventId": "string",
        "eventType": "withdrawal.success",
        "timestamp": 0,
        "tenantId": 0,
        "data": {
            "orderId": "string",
            "network": "string",
            "currency": "string",
            "toAddress": "string",
            "amount": "string",
            "fee": "string",
            "status": "SUCCESS",
            "txHash": "string",
            "errorMsg": "string"
        }
    }
    Built with