feat(tenpayv3): 独立化境外支付 API

This commit is contained in:
Fu Diwei
2024-05-06 20:50:58 +08:00
parent 2e19fc8aa1
commit 9b18df8f2e
850 changed files with 2016 additions and 1088 deletions

View File

@@ -0,0 +1,8 @@
{
"sub_mchid": "1900000109",
"out_refund_no": "1217752501201407033233368018",
"type": "USER_BANK_CARD",
"bank_type": "ICBC_DEBIT",
"bank_account": "d+xT+MQCvrLHUVDWv/8MR/dB7TkXLVfSrUxMPZy6jWWYzpRrEEaYQE8ZRGYoeorwC+w==",
"real_name": "UPgQcZSdq3zOayJwZ5XLrHY2dZU1W2Cd"
}

View File

@@ -0,0 +1,48 @@
{
"refund_id": "50000000382019052709732678859",
"out_refund_no": "1217752501201407033233368018",
"transaction_id": "1217752501201407033233368018",
"out_trade_no": "1217752501201407033233368018",
"channel": "ORIGINAL",
"user_received_account": "招商银行信用卡0403",
"success_time": "2020-12-01T16:18:12+08:00",
"create_time": "2020-12-01T16:18:12+08:00",
"status": "SUCCESS",
"funds_account": "UNSETTLED",
"amount": {
"total": 100,
"refund": 100,
"from": [
{
"account": "AVAILABLE",
"amount": 444
}
],
"payer_total": 90,
"payer_refund": 90,
"settlement_refund": 100,
"settlement_total": 100,
"discount_refund": 10,
"currency": "CNY",
"refund_fee": 100
},
"promotion_detail": [
{
"promotion_id": "109519",
"scope": "GLOBAL",
"type": "COUPON",
"amount": 5,
"refund_amount": 100,
"goods_detail": [
{
"merchant_goods_id": "1217752501201407033233368018",
"wechatpay_goods_id": "1001",
"goods_name": "iPhone6s 16G",
"unit_price": 528800,
"refund_amount": 528800,
"refund_quantity": 1
}
]
}
]
}

View File

@@ -0,0 +1,18 @@
{
"sub_mchid": "1900008XXX",
"notify_url": "https://weixin.qq.com/",
"amount": {
"total": 1,
"currency": "CNY",
"refund": 1,
"from": [
{
"account": "AVAILABLE",
"amount": 444
}
]
},
"transaction_id": "4200000991202103266853086457",
"out_refund_no": "sdk12345678920210326145039",
"reason": "商品已售完"
}

View File

@@ -0,0 +1,28 @@
{
"amount": {
"currency": "CNY",
"discount_refund": 0,
"payer_refund": 1,
"payer_total": 1,
"refund": 1,
"settlement_refund": 1,
"settlement_total": 1,
"total": 1,
"from": [
{
"account": "AVAILABLE",
"amount": 444
}
]
},
"channel": "ORIGINAL",
"create_time": "2021-03-26T14:52:08+08:00",
"funds_account": "UNSETTLED",
"out_refund_no": "sdk12345678920210326145039",
"out_trade_no": "sdk12345678920210326145039",
"promotion_detail": [],
"refund_id": "50001307732021032607480019805",
"status": "PROCESSING",
"transaction_id": "4200000991202103266853086457",
"user_received_account": "支付用户零钱"
}

View File

@@ -0,0 +1,29 @@
{
"amount": {
"currency": "CNY",
"discount_refund": 0,
"payer_refund": 1,
"payer_total": 1,
"refund": 1,
"settlement_refund": 1,
"settlement_total": 1,
"total": 1,
"from": [
{
"account": "AVAILABLE",
"amount": 444
}
]
},
"channel": "ORIGINAL",
"create_time": "2021-03-26T14:52:08+08:00",
"funds_account": "UNSETTLED",
"out_refund_no": "sdk12345678920210326145039",
"out_trade_no": "sdk12345678920210326145039",
"promotion_detail": [],
"refund_id": "50001307732021032607480019805",
"status": "SUCCESS",
"success_time": "2021-03-26T14:52:11+08:00",
"transaction_id": "4200000991202103266853086457",
"user_received_account": "支付用户零钱"
}