Skip to main content

Event查詢

介面路徑

環境请求地址备注
测试GET {URI}/v1/api/events/query/{eventId}
正式GET {URI}/v1/api/events/query/{eventId}

请求

參數必填类型最大长度描述範例值
appKeyString
appIdString

Path Value

參數必填类型最大长度描述範例值
eventIdString事件ID

回應

{
"id":"00010102714941393270727680000202110",
"type":"trade.succeeded",
"created":1635329643835,
"data":{
"paymentError":null,
"riskResult":{
"captureNotify":null,
"prePay":{
"uid":"1032803",
"eventId":"1453303948226265088",
"riskLevel":0,
"orderId":"202110271813569590128050000",
"merchantId":null,
"resCode":0,
"detail":{
"toast":null,
"decision":"RISK_3D_FORCE",
"cybsDecision":"REVIEW",
"toastId":null,
"ruleId":null
}
},
"refundAfter":null,
"channelRiskResult":"false",
"authNotify":{
"uid":"1032803",
"eventId":"1453303974675546112",
"riskLevel":0,
"orderId":null,
"merchantId":null,
"resCode":0,
"detail":{
"toast":null,
"decision":"RISK_PASS",
"cybsDecision":null,
"toastId":null,
"ruleId":null
}
},
"refundBefore":null
},
"tradeOrderId":"10010102714941391738628956160",
"passthrough":"",
"channelDealId":"pay_ifrlzoaf62s2blthtl6exd2uza",
"lastPayment":{
"last4":"1111",
"brand":"Visa"
},
"nextAction":{
"method":"GET",
"data":null,
"confirmStatus":"PENDING",
"type":"Redirect",
"url":"https://3ds2-sandbox.ckotech.co/interceptor/3ds_utdnc6gmrbweho4uw4zt4y63au",
"target":"Channel"
},
"paidAmount":{
"currency":"TWD",
"value":900
},
"subStatus":"",
"status":"SUCCEEDED"
}
}