PayproPaypro
  • 🇮🇩 Indonesia
  • 🇵🇰 Pakistan
  • 🇵🇭 Philippines
  • 🇰🇪 Kenya
  • 🇪🇬 Egypt
  • 🇲🇽 Mexico
  • 🇧🇩 Bengal
  • 🇳🇬 Nigeria
  • 🇮🇩 Indonesia
  • 🇵🇰 Pakistan
  • 🇵🇭 Philippines
  • 🇰🇪 Kenya
  • 🇪🇬 Egypt
  • 🇲🇽 Mexico
  • 🇧🇩 Bengal
  • 🇳🇬 Nigeria
  • Bengal

    • Overview
    • Error Code
    • Payment API
    • Payout API
    • Payment Query API
    • Payout Query API
    • Balance Inquiry API
    • Payment Notify API

Payment Query API

    Tips

    • All requests are Post requests, and the data format is json
    Brief Description
    • The business party can actively query the payment results
    Request URL
    • /v1/paypro/queryPayInResult
    Request Method
    • Post
    Header
    NameRequiredTypeDescription
    merchantNoYstring-
    Request Body Parameters
    NameRequiredTypeDescription
    tradeNoYstringTransaction number passed by the merchant when making the payment
    timestampYstringTimestamp
    signYstringEncryption
    Request Example
    {
      
      "sign": "b609f38f4c3900a82beaf2222611083d",
      "timestamp": "1729153976003",
      "tradeNo": "133323384"
    }
    
    
    Successful Response Example
    Parameter NameRequiredTypeDescription
    msgYesstringRequest result (when returning "success", it only indicates that this request was successful; it should not be used for merchant-side logic judgment)
    codeYesstringRequest response code (when returning "0000", it only indicates that this request was successful; it should not be used for merchant-side logic judgment). For specific error codes, please refer to the business error code enumeration.
    timestampYesstringTimestamp (e.g., 1715941383720)
    successYesstringTransaction result
    dataYesObjectReturned object
    data.platFormTradeNoYesstringPlatform order number
    data.tradeNoYesstringMerchant transaction number returned
    data.amountYesstringTransaction amount
    data.statusYesstringRequest result; merchants can use it for logical processing. When the result is "0000", it indicates that the transaction is successful; "0015" indicates processing; all others are error codes and can be treated as failures.
    data.messageYesstringError description
    data.successTimeYesstringTransaction success time (local time)
    {
        "msg": "success",
        "code": "0000",
        "timestamp": 1729325978798,
        "success": true,
        "data": {
            "platFormTradeNo": "7zr8om5hzclkemsz",
            "tradeNo": "133323384",
            "amount": "50000.00",
            "status": "0000",
            "successTime": "2024-10-19 14:37:28"
        }
    }
    
    
    Last Updated:
    Contributors: wsc
    Prev
    Payout API
    Next
    Payout Query API