充值下单
开发中
POST
/api/recharge/recharge
请求参数
Body 参数application/json
terminal
integer
客户端
pay_way
integer
必需
template_id
string
充值模板id
money
string
可选
示例
{
"terminal": 0,
"pay_way": 0,
"template_id": "string",
"money": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/recharge/recharge' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
order_id
integer
订单id
from
string
来源
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"order_id": 2,
"from": "recharge"
}
}
修改于 2024-03-11 02:29:19