71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
|
|
POST http://127.0.0.1:12239/wallet.Payment/Hello
|
||
|
|
content-type: application/json
|
||
|
|
Authorization: {{BSM_TOKEN}}
|
||
|
|
|
||
|
|
{}
|
||
|
|
|
||
|
|
###
|
||
|
|
|
||
|
|
POST http://127.0.0.1:12239/wallet.Payment/Way
|
||
|
|
content-type: application/json
|
||
|
|
Authorization: {{BSM_TOKEN}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"platform": "app"
|
||
|
|
}
|
||
|
|
|
||
|
|
###
|
||
|
|
|
||
|
|
POST http://127.0.0.1:12239/wallet.Payment/Get
|
||
|
|
content-type: application/json
|
||
|
|
Authorization: {{BSM_TOKEN}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"id": 1,
|
||
|
|
"identity": "pay_123456"
|
||
|
|
}
|
||
|
|
|
||
|
|
###
|
||
|
|
|
||
|
|
POST http://127.0.0.1:12239/wallet.Payment/ByOrder
|
||
|
|
content-type: application/json
|
||
|
|
Authorization: {{BSM_TOKEN}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"order_no": "order_202309090001",
|
||
|
|
"pay_channel": 1,
|
||
|
|
"pay_type": "JSAPI",
|
||
|
|
"password": "123456",
|
||
|
|
"args": "{}",
|
||
|
|
"desc": "支付电商订单",
|
||
|
|
"open_id": "wx_open_id_abc"
|
||
|
|
}
|
||
|
|
|
||
|
|
###
|
||
|
|
|
||
|
|
POST http://127.0.0.1:12239/wallet.Payment/ByCharge
|
||
|
|
content-type: application/json
|
||
|
|
Authorization: {{BSM_TOKEN}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"amount": 1000,
|
||
|
|
"remark": "充值",
|
||
|
|
"pay_channel": 1,
|
||
|
|
"pay_type": "JSAPI",
|
||
|
|
"desc": "账户充值",
|
||
|
|
"open_id": "wx_open_id_abc"
|
||
|
|
}
|
||
|
|
|
||
|
|
###
|
||
|
|
|
||
|
|
POST http://127.0.0.1:12239/wallet.Payment/Callback
|
||
|
|
content-type: application/json
|
||
|
|
Authorization: {{BSM_TOKEN}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"id": 1,
|
||
|
|
"identity": "pay_123456",
|
||
|
|
"callback_status": true,
|
||
|
|
"callback_msg": "SUCCESS"
|
||
|
|
}
|