English
Product Documentation1688 APITaobao/Tmall API
Product Documentation1688 APITaobao/Tmall API
中文
  1. Taobao / Tmall Order Pay
  • Taobao / Tmall Product Search
    • Image upload By Get
      GET
    • Image upload By Post
      POST
    • Image search
      GET
    • keyword search
      GET
    • shop search
      GET
    • Product details search
      GET
    • Product Logistics Price Get
      GET
    • Hot list type search
      GET
    • List product search
      GET
    • Product Logistics Price Post
      POST
    • Image search2
      GET
  • Taobao / Tmall Order Manage
    • Product Bunker interface(撞库)
      GET
    • Preview order
      POST
    • Create order
      POST
    • Cancel order
      POST
    • View order details
      POST
  • Taobao / Tmall Order Pay
    • Pay order
      POST
  • Taobao / Tmall Message
    • Message Type
  1. Taobao / Tmall Order Pay

Pay order

POST
/taobao/purchase/order/batch/pay
Batch order payment interface, through which the payment of Taobao orders can be automatically completed, with a limited deduction of Alipay balance. When the Alipay balance is insufficient, the bound bank card balance will be deducted.

Request

Body Params application/json
appKey
string 
required
大吉平台appKey
appSecret
string 
required
秘钥,仅调试使用,正式用sign签名
purchaseOrderIdList
array[integer]
required
采购主订单id列表(最多10个)
Example
{
  "appKey": "",
  "appSecret": "",
  "purchaseOrderIdList": [
    200049919063
  ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
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]
}'

Responses

🟢200成功
application/json
Body
code
integer 
required
返回码
message
string 
required
消息
data
object 
required
业务数据
code
string 
required
返回码
data
object 
required
业务数据
success
boolean 
required
成功状态
requestId
string 
required
errorCode
null 
required
错误码
errorMsg
null 
required
错误消息
timestamp
integer 
required
时间戳
traceId
string 
required
traceId
Example
{
  "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"
}
Previous
View order details
Next
Message Type
Built with