https://cn.apitd.net/fraud/transaction/v2channelstring必填渠道标识:由 TD 分配
session_idstring必填会话 ID:会话 ID 是网站服务器为特定用户在访问期间分配的唯一标识,通常可以用 Cookie、表单字段或 URL 的形式存储
decision_eventstringenum必填风险验证时的业务节点:枚举值
order_paymentevent_timestring必填业务真实发生时间:符合 ISO 8601 标准,格式 YYYY-MM-DDTHH:mm:ss.sssZ ,例如 2021-10-12T14:20:50.521+07:00
account_idstring可选账户 ID:当账户不存在时可不传
order_idstring必填订单号
terminalobject必填终端信息
black_boxstring可选终端设备信息凭证:从 TD 终端安全 SDK 获取
ipstring可选公网 IP 地址:支持 IPV4 和 IPV6
extJSON可选扩展信息:与 TD 约定好的扩展信息
accountobject可选账户信息
account_idstring必填账户 ID
register_timestring必填账户注册(创建)时间:符合 ISO 8601 标准,格式 YYYY-MM-DDTHH:mm:ss.sssZ ,例如 2021-10-12T14:20:50.521+07:00
login_timestring必填账户最近一次登录时间:符合 ISO 8601 标准,格式 YYYY-MM-DDTHH:mm:ss.sssZ ,例如 2021-10-12T14:25:50.521+07:00
phoneobject可选账户手机信息
emailstring可选账户邮箱
orderobject必填订单信息
order_idstring必填订单号
order_create_timestring必填下单时间:符合 ISO 8601 标准,格式 YYYY-MM-DDTHH:mm:ss.sssZ ,例如 2021-10-12T14:25:50.521+07:00
merchandise_listarray可选商品列表
amountobject必填订单总金额
shippingobject可选收货信息
paymentobject可选支付信息
payment_idstring必填支付流水号
methodstringenum必填支付方式
cardewalletbank_transfercash_on_deliverybnplotherchannelstring必填支付渠道:例如 worldpay、credorax、airwallex、apple_pay、checkout、ebanx、adyen、stripe、paypal、pacypay、alipay、wechat_pay、other
amountobject必填支付金额
cardobject可选支付银行卡
is_coupon_usedstringenum可选是否使用优惠券:枚举值
truefalsecouponsarray可选使用的优惠券列表
payment_resultobject可选支付结果
is_payment_successstringenum必填支付是否成功:枚举值
truefalsepayment_messagestring可选支付结果描述
is_3ds_usedstringenum可选是否使用 3DS:枚举值
truefalseresponse_by_3dsobject可选3DS 响应结果
response_by_avsstring可选AVS 响应结果
response_by_cvcstring可选CVC 响应结果
billingobject可选账单信息
addressobject可选账单地址
phoneobject可选账单手机号
emailstring可选账单邮箱
recipientobject可选账单收件人
merchantobject可选卖家信息
merchant_idstring必填卖家账户 ID
shop_namestring可选店铺名称
shop_phoneobject可选店铺电话
shop_emailstring可选店铺邮箱
shop_addressobject可选店铺地址
shop_urlstring可选店铺网站地址
register_timestring必填卖家注册(创建)时间:符合 ISO 8601 标准,格式 YYYY-MM-DDTHH:mm:ss.sssZ ,例如 2021-10-12T14:20:50.521+07:00
login_timestring可选卖家最近一次登录时间:符合 ISO 8601 标准,格式 YYYY-MM-DDTHH:mm:ss.sssZ ,例如 2021-10-12T14:20:50.521+07:00
merchant_typestringenum可选卖家类型:枚举值
personentitymerchant_levelstring可选卖家等级
companystring可选卖家公司
primary_categorystring可选卖家主营类目
product_countinteger可选卖家在线商品数量
history_order_countinteger可选卖家历史成单量
history_order_amountobject可选卖家历史成单金额
{}Click Try It! to start a request and see the response here! Or choose an example:
application/json