手机充值
POST
/api/order/submit/mobile
最后修改时间:2023-03-21 08:46:49
请求参数
Body 参数application/json
appid
string
app id
version
string
接口版本号
reqTime
integer
时间戳
sign
string
签名值
face_value
integer
充值面值
biz_order_id
string
商家订单号
account
number
充值手机号
callback_url
string
回调URL
示例
{
"bizid": "1",
"appid": "10000",
"version": "1.0",
"reqTime": 1663033930408,
"sku_id": 5096820548201873,
"recharge_count": 1,
"biz_order_id": "{{biz_order_id}}",
"sign": "{{sign}}",
"account": "18507168841"
}
示例代码
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/order/submit/mobile' \
--header 'Content-Type: application/json' \
--data-raw '{
"bizid": "1",
"appid": "10000",
"version": "1.0",
"reqTime": 1663033930408,
"sku_id": 5096820548201873,
"recharge_count": 1,
"biz_order_id": "{{biz_order_id}}",
"sign": "{{sign}}",
"account": "18507168841"
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
msg
string
提示信息
data
object
数据
order_id
string
平台订单号
示例
{
"code": 0,
"msg": "string",
"data": {
"order_id": "string"
}
}
修改于 2023-03-21 08:46:49