支付订单
POST
/taobao/purchase/order/batch/pay
请求参数
Body 参数application/json
appKey
string
必需
appSecret
string
必需
purchaseOrderIdList
array[integer]
必需
示例
{
"appKey": "",
"appSecret": "",
"purchaseOrderIdList": [
200049919063
]
}
示例代码
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://openapi.dajisaas.com/taobao/purchase/order/batch/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "",
"appSecret": "",
"purchaseOrderIdList": [200049919063]
}'
返回响应
🟢200成功
application/json
Body
code
integer
返回码
message
string
消息
data
object
业务数据
code
string
返回码
data
object
业务数据
success
boolean
成功状态
requestId
string
必需
errorCode
null
错误码
errorMsg
null
错误消息
timestamp
integer
时间戳
traceId
string
traceId
示例
{
"code": 200,
"message": "操作成功",
"data": {
"code": "0",
"data": {
"payFailurePurchaseOrderIds": null,
"willPayPurchaseOrderIds": [
200049970162
],
"payFailedResults": null
},
"success": true,
"requestId": "2102fb2e17231998633621798",
"errorCode": null,
"errorMsg": null
},
"timestamp": 1723199866810,
"traceId": "80568f398ca7"
}
