开卡成功【回调】

简要描述

开卡成功回调,收到Webhook 消息后,如果返回HTTP CODE 200, 表示您已成功接收到webhook消息,否则将重试

返回参数说明

参数名类型说明
eventTypestringwebhook 事件类型
eventIdstringwebhook事件id
webhookSubscribeIdstringwebhook订阅id
+dataobject返回事件对象 data
  └userIdstring用户id
  └cardHolderIdstring持卡人id
  └holderNamestring持卡人姓名
  └cardIdstring卡片id
  └cardSeqNostring卡序列号
  └cardCustomerIdstring自定义客户id
  └cardSeqNostring卡序列号
  └depositLong总充值(美分单位)
  └consumeLong消费(美分单位)
  └balanceLong余额(美分单位)
  └cvcstringcvc
  └numberstring卡号
  └cardBinstring卡段id
  └last4string预授权时间
  └statusstring卡片状态
  └expYearLong过期年
  └expMonthLong过期月
  └gmtCreatetimestamp记录创建时间
  └orderNoString订单号
{
    "eventType":"CREATE_CARD",
    "eventId":"ev_xxxxxxxxxxxxxxxxxxxxx",
    "webhookSubscribeId":"wsb_xxxxxxxxxxxxxxxxxxx",
    "data":{
       "userId": "u_sdasdf1",
        "cardHolderId": "ch_sdasdf1",
        "holderName": "Kobe Bryant",
        "cardId": "c_sdasdf1",
        "cardSeqNo": "CAEE7QW",
        "deposit": 100000,
        "consume": 0,
        "balance": 100000,
        "cvc": "123",
        "number": "400 0009990000096",
        "cardBin": "vab_069af8a792ad",
        "last4": "0096",
        "status": "ACTIVE",
        "expYear": 2021,
        "expMonth": 5,
        "gmtCreate": 1597847779,
        "customerId": null,
        "orderNo":"999"
    }
}

备注

更多返回错误代码请看首页的错误代码描述