事件类别:order_payment
order_id
[* String]:订单号payment
[* Object Payment]:支付信息payment_id
[* String]:支付流水号method
[* String]:支付方式,枚举值- card:卡支付
- ewallet:电子钱包
- bank_transfer:银行转帐
- cash_on_delivery:货到付款
- bnpl:先买后付
- other:其它
channel
[* String]:支付渠道,例如 worldpay、credorax、airwallex、apple_pay、checkout、ebanx、adyen、stripe、paypal、pacypay、alipay、wechat_pay、otheramount
[* Object Amount]:支付金额currency
[* String]:原始金额货币类型,3 字母编码,符合 ISO 4217 标准amount_local
[* Double]:原始金额amount_usd
[Double]:金额(美金),将原始金额经过汇率换算后的美金金额,(条件必须:如果接入的是非 CN 站点则必须)amount_cny
[Double]:金额(人民币),将原始金额经过汇率换算后的人民币金额,(条件必须:如果接入的是 CN 站点则必须)
card
[Object Card]:支付银行卡,卡支付时必须card_bin
[* String]:卡 binlast_four_digits
[* String]:卡最后四位card_number_length
[* Integer]:卡号长度holder_name
[Object Name]:持卡人名称first_name
[String]:名middle_name
[String]:中间名last_name
[String]:姓nickname
[String]:昵称
debit_or_credit
[String]:卡类型,枚举值- debit:储蓄卡 / 借记卡
- credit:信用卡
issuer_region
[String]:发卡国家或地区,两位国家码,符合 ISO 3166 标准expiration_date
[String]:过期时间,格式:YYYY-MM ,例如 1998-01
is_coupon_used
[Boolean]:是否使用优惠券,枚举值- true:是
- false:否
coupons
[Array Coupon]:使用的优惠券列表coupon_id
[* String]:优惠券 IDcoupon_name
[* String]:优惠券名称coupon_count
[* Integer]:优惠券数量begin_time
[* Long]:开始时间,时间戳(毫秒),UTC, Jan 1, 1970expire_time
[* Long]:结束时间,时间戳(毫秒),UTC, Jan 1, 1970coupon_type
[String]:优惠券类型,枚举值- fixed_discount:满减
- discount:折扣
- threshold:门槛
- other:其它
coupon_rate
[Double]:优惠券折扣率,范围为 0 - 1.00 ,9 折即为 0.9 ,95 折即为 0.95 ,以此类推coupon_threshold
[String]:优惠券门槛cash_back_amount
[Object Amount]:返还金额currency
[* String]:原始金额货币类型,3 字母编码,符合 ISO 4217 标准amount_local
[* Double]:原始金额amount_usd
[Double]:金额(美金),将原始金额经过汇率换算后的美金金额,(条件必须:如果接入的是非 CN 站点则必须)amount_cny
[Double]:金额(人民币),将原始金额经过汇率换算后的人民币金额,(条件必须:如果接入的是 CN 站点则必须)
billing
[Object Billing]:账单信息address
[ Object Address]:账单地址country
[* String]:国家,两位国家码,符合 ISO 3166 标准region
[* String]:省 / 州 / 地区city
[* String]:城市district
[String]:区县detail
[String]:详细地址zip_code
[String]:邮政编码
phone
[ Object Phone]:账单手机号country_code
[* Integer]:国家区号,符合国际电信联盟 E.164 标准,不含 + 号和前缀 0,如 86phone_number
[* String]:手机号 / 电话号码,不含 + 号和前缀
email
[String]:账单邮箱recipient
[ Object Name]:账单收件人first_name
[String]:名middle_name
[String]:中间名last_name
[String]:姓nickname
[String]:昵称
{
"order_id": "NX348566DIHD",
"payment": {
"payment_id": "NHF8736274",
"method": "card",
"channel": "paypal",
"amount": {
"currency": "CNY",
"amount_local": 68,
"amount_usd": 10,
"amount_cny": 68
},
"card": {
"card_bin": "622207",
"last_four_digits": "1234",
"card_number_length": 16,
"holder_name": {
"first_name": "三",
"middle_name": "",
"last_name": "张",
"nickname": "HZhang"
},
"debit_or_credit": "credit",
"issuer_region": "CN",
"expiration_date": "1998-01-01"
},
"is_coupon_used": true,
"coupons": [
{
"coupon_id": "NOHF08938",
"coupon_name": "双十一限时购",
"coupon_count": 1,
"begin_time": 1596358039000,
"expire_time": 1616358039000,
"coupon_type": "discount",
"coupon_rate": 0.85,
"coupon_threshold": "10",
"cash_back_amount": {
"currency": "CNY",
"amount_local": 6.8,
"amount_usd": 1,
"amount_cny": 6.8
}
}
]
},
"billing": {
"address": {
"country": "CN",
"region": "浙江省",
"city": "杭州市",
"district": "余杭区",
"detail": "文一西路海创园 18 幢",
"zip_code": "310000"
},
"phone": {
"country_code": 86,
"phone_number": "18700001112"
},
"email": "[email protected]",
"recipient": {
"first_name": "三",
"middle_name": "",
"last_name": "张",
"nickname": "HZhang"
}
}
}