DAJI OPEN PLATFORM
中文
PRICE
CONSOLE
  1. Taobao Order Pay
  • Introduction
    • I. Learn About DAJI
    • II. Become a developer
    • III. Get Access Key and Access Secret
    • IV. Start Your Application Development
    • V. Frequently Asked Question
    • VI. Plans & Pricing
  • 1688 - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • 1688 Business Opportunity
        • Query Ranking List
        • Query Daily Product Sales Trend
      • 1688 Product Search
        • Upload image to get imageId
        • Image Search
        • Keyword Search
        • Product Detail Search
        • Shop Search
        • Product Shipping Query
        • Category Query
        • Product Detail Search - supports short links
      • 1688 Order Manage
        • Preview Order
        • Create Order
        • Cancel Order
        • Confirm Receipt
        • Query Order Detail
        • Query Order List
      • 1688 Order Pay
        • Get payment links for orders in batches
        • Protocol Pay
      • Other API
        • Multilingual Search Navigation
  • Taobao - Adapted Capabilities
    • Capability Specifications
      • Request Signature
      • Enum Type
      • Message Notification
      • Message Notification - Signature
    • Integration Testing
      • Taobao Order Manage
        • Product ID Mapping
        • Product Preview
        • Create Order
        • Cancel Order
        • Query Order
      • Taobao Order Pay
        • Protocol Pay
          POST
      • Taobao Product Search
        • Image upload By Get
        • Image Search
        • Keyword Product Search
        • Shop Search
        • Product Detail Search V2
        • Ranking Type Search
        • Ranking Product Search
        • Product Shipping Query V2
        • Product Detail Search - supports short links
        • Batch Product Shipping Query V2
  • Poizon V2.0 - Adapted Capabilities
    • Capability Specifications
    • Integration Testing
      • Poizon V2.0 Product Search
        • Keyword Search
        • Product Detail
      • Poizon V2.0 Order Manage
        • Create Order & Payment
        • Query Order Info
        • Cancel Order
      • Poizon V2.0 Logistics
        • Query Logistics Trace
      • Poizon V2.0 Balance Query
        • Balance Query
  1. Taobao Order Pay

Protocol Pay

POST
/taobao/purchase/order/batch/pay
This interface allows for the automatic payment of Taobao orders. It prioritizes deducting the Alipay balance; if the Alipay balance is insufficient, it will deduct from the bound bank card balance.

Request

Body Params application/json

Example
{
    "appKey": "",
    "appSecret": "",
    "purchaseOrderIdList": [
        200049919063
    ]
}

Request Code 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 'https://openapi.dajisaas.com/taobao/purchase/order/batch/pay' \
--header 'Content-Type: application/json' \
--data '{
    "appKey": "",
    "appSecret": "",
    "purchaseOrderIdList": [
        200049919063
    ]
}'

Responses

🟢200Success
application/json
Bodyapplication/json

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
Query Order
Next
Image upload By Get
Built with