修改订单
POST
https://youchaibao.com/api/order/notify/
orders
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
order_id
string
Order Id
trade_no
string
Trade No
amount
number
Amount
status
string
Status
示例
{
"order_id": "string",
"trade_no": "string",
"amount": 0,
"status": "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 'https://youchaibao.com/api/order/notify/' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_id": "string",
"trade_no": "string",
"amount": 0,
"status": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
Code
默认值:
0
msg
string
Msg
默认值:
data
Data
示例
{
"code": 0,
"msg": "",
"data": null
}