Paycools API Docs
Version
Version
  • v1
  • v2
Languages
Languages
  • English
  • 简体中文
Version
Version
  • v1
  • v2
Languages
Languages
  • English
  • 简体中文
  1. 2. Payment
  • Unified API Request Param
  • Unified Async Notification Param
  • Open API Common Code List
  • 1. Account
    • Country Code
    • 1.1 Balance Inquiry
      POST
    • 1.2 Report Download
      POST
    • 1.2 Balance Detail
      POST
  • 2. Payment
    • Payment Channel List
    • Wechat Webpage Authorization Reference
    • Wechat Calls Payment Reference
    • 2.1 Create Payment
      POST
    • 2.2 Check Payment Status
      POST
    • 2.3 Close Payment
      POST
    • 2.5 Payment Void
      POST
    • 2.4 Asynchronous Notification Of Payment Results
      POST
    • 2.6 Logistics Upload
      POST
    • 2.7 File Upload
      POST
  • 3. Payout
    • Payout Channel List
    • Account Verification Related Enum List
    • 3.1 Account Validation
      POST
    • 3.2 Check Account Validation Order Status
      POST
    • 3.3 Create Payout
      POST
    • 3.4 Check Payout Status
      POST
    • 3.5 Asynchronous Notification Of Payout Results
      POST
    • 3.6 Create Payout Batch
      POST
    • 3.7 Payout Batch Query
      POST
    • 3.8 Payout Batch Query Detail
      POST
    • 3.9 payout Batch Call Back
      POST
  • 4. Checkout
    • Checkout Payment Channel Code List
    • 4.1 Create Checkout Order
    • 4.5 Asynchronous Notification Of Checkout Payment Results
    • 4.2 Check Checkout Order status
    • 4.3 Get Checkout Order Available Channels
    • 4.4 Close Checkout Order
  • 5. Refund
    • Refund Support Channel List
    • Refund Status Enum
    • 5.1 Refund
    • 5.2 Get Refund Payments
    • 5.3 Asynchronous Notification Of Refund Results
  • 6. Direct Debit
    • Direct Debit Channel List
    • 6.1 Create Authorization Url
    • 6.2 Check Authorization Status
    • 6.3 Cancel Authorization
    • 6.4 Asynchronous Notification Of Authorization Results
  • 7. Split Payment
    • Split Payment Enumeration
    • 1. Relationship Proof File Upload
    • 2. Add Split Payment Receiver
    • 3. Query Split Payment Receiver
    • 4. Delete Split Payment Receiver
    • 5. Query Unsplit Amount
    • 6. Split Payment
    • 7. Query Split Payment Result
    • 8. Split Payment Return
    • 9. Query Split Payment Return Result API
  • 8. Validation Product
    • Payment Slip Validation
    • Payment Slip Validation Query
  • 9. cross-border payment
    • Query exchange rate quotation
  1. 2. Payment

2.6 Logistics Upload

POST
/open-api/payment/logistics/upload

Calling Scenario#

The following two types of transactions can be settled only after the logistics tracking number is uploaded. Call this API to upload the logistics tracking number:
1.
Physical goods transactions: The merchant must upload the logistics tracking number before the order can be settled to the merchant.
2.
Installment product transactions: For the Tabby and Tamara installment wallet products, the merchant must also upload the logistics tracking number before settlement.

How to call#

1.
Call File Upload (POST /open-api/v1/file/upload) with businessType = LOGISTICS_ORDER to upload the logistics document.
2.
Pass the returned filePath to this API unchanged.

Notes#

countryCode must match the country of the original payment order; otherwise a parameter error is returned.
At least one of mchOrderId and transactionId is required. If both are provided, they must refer to the same order. When mchOrderId matches multiple orders, use transactionId to identify the order.
Only successful payment orders are supported. stocking, shipping and signed are all accepted in any order.
Once signed has been submitted successfully, logistics information can no longer be modified.
An identical request is idempotent and returns the first result; changed logistics content is treated as a new submission.
If a previous submission is still processing or unconfirmed, 21065 is returned. Wait for the result instead of submitting new content concurrently.
Logistics can still be updated after settlement. The update does not trigger settlement again or change the first successful upload time.

Error Codes#

codeDescription
10000Success
21000System error. Contact the platform to confirm the result
21002Parameter error (including ambiguous order identifier, invalid deliveryTime, invalid filePath)
21004Merchant information error
21006No matching order found for this merchant
21063signed has already been submitted successfully; logistics cannot be modified
21064The order is not eligible for logistics upload (not paid successfully or not applicable)
21065Logistics upload is processing or awaiting confirmation; do not submit again
21066Logistics upload failed. Verify the logistics information and contact the platform

Request

Body Params application/jsonRequired

Example
{
    "appId": "733bxxxxxx6ded",
    "sign": "sign by param",
    "param": "{\"countryCode\":\"SA\",\"timestamp\":\"1762761600000\",\"mchOrderId\":\"GCC202611100001\",\"transactionId\":\"CU510579106014826496\",\"shippingCountryCode\":\"SA\",\"deliveryStatus\":\"shipping\",\"deliveryTime\":\"2026-11-10 15:20:00\",\"trackingNum\":\"SZB1234567890\",\"logisticsCompany\":\"SMSA Express\",\"shippingAddr\":\"King Fahd Road, Riyadh, Saudi Arabia\",\"filePath\":\"money/logistics/order/0bc0d889bf838875573d1241800a8f1b.pdf\"}"
}

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 '/open-api/payment/logistics/upload' \
--header 'Content-Type: application/json' \
--data '{
    "appId": "733bxxxxxx6ded",
    "sign": "sign by param",
    "param": "{\"countryCode\":\"SA\",\"timestamp\":\"1762761600000\",\"mchOrderId\":\"GCC202611100001\",\"transactionId\":\"CU510579106014826496\",\"shippingCountryCode\":\"SA\",\"deliveryStatus\":\"shipping\",\"deliveryTime\":\"2026-11-10 15:20:00\",\"trackingNum\":\"SZB1234567890\",\"logisticsCompany\":\"SMSA Express\",\"shippingAddr\":\"King Fahd Road, Riyadh, Saudi Arabia\",\"filePath\":\"money/logistics/order/0bc0d889bf838875573d1241800a8f1b.pdf\"}"
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "code": 10000,
    "message": "Success",
    "data": {
        "mchOrderId": "GCC202611100001",
        "transactionId": "CU510579106014826496",
        "orderStatus": "success",
        "deliveryStatus": "shipping",
        "updateTime": "2026-11-10 15:20:05"
    }
}
Previous
2.4 Asynchronous Notification Of Payment Results
Next
2.7 File Upload
Built with