feat(tenpayv3): 新增电商收付通跨境付款相关接口

This commit is contained in:
Fu Diwei
2022-06-09 18:05:06 +08:00
parent 38c595cfca
commit 7e6d619539
15 changed files with 587 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{
"amount": 10,
"express_info": {
"courier_number": "curier_number_1231",
"express_company_name": "国际xxx物流"
},
"foreign_currency": "USD",
"goods_info": [
{
"goods_category": "家用电器",
"goods_name": "橘子",
"goods_quantity": 1,
"goods_unit_price": 1
}
],
"out_order_id": "merchant_1123123",
"payee_info": {
"payee_id": "ID123112312"
},
"seller_info": {
"oversea_business_name": "香港xxxx公司",
"oversea_shop_name": "香港xxx公司xxx店铺",
"seller_id": "id2123123123"
},
"sub_mchid": "123456",
"transaction_id": "420000000000000010"
}

View File

@@ -0,0 +1,17 @@
{
"amount": 21,
"charge_account_type": "BASIC",
"charge_mchid": "1231231",
"departure_amount": 20,
"estimate_exchange_rate_time": "2015-05-20T13:29:35+08:00",
"exchange_rate_time": "2015-05-20T13:29:35+08:00",
"fail_reason": "DEPARTURE_AMOUNT_NO_ENOUGH",
"fee": 1,
"foreign_amount": 20,
"foreign_currency": "USD",
"order_id": "42000000000_123123",
"out_order_id": "merchant123123",
"rate": 650000000,
"result": "ACCEPT",
"sub_mchid": "1231231"
}

View File

@@ -0,0 +1,5 @@
{
"download_url": "https://api.mch.weixin.qq.com/v3/bill/downloadurl?token=xxx",
"hash_type": "SHA1",
"hash_value": "79bb0f45fc4c42234a918000b2668d689e2bde04"
}

View File

@@ -0,0 +1,17 @@
{
"amount": 21,
"charge_account_type": "BASIC",
"charge_mchid": "1231231",
"departure_amount": 20,
"estimate_exchange_rate_time": "2015-05-20T13:29:35+08:00",
"exchange_rate_time": "2015-05-20T13:29:35+08:00",
"fail_reason": "DEPARTURE_AMOUNT_NO_ENOUGH",
"fee": 1,
"foreign_amount": 20,
"foreign_currency": "USD",
"order_id": "42000000000_123123",
"out_order_id": "merchant123123",
"rate": 650000000,
"result": "ACCEPT",
"sub_mchid": "1231231"
}

View File

@@ -0,0 +1,4 @@
{
"available_abroad_amount": 21,
"transaction_id": "4208450740201411110007820472"
}