PayproPaypro
  • 🇮🇩 Indonesia
  • 🇵🇰 Pakistan
  • 🇻🇳 Vietnam
  • 🇵🇭 Philippines
  • 🇰🇪 Kenya
  • 🇪🇬 Egypt
  • 🇧🇷 Brazil
  • 🇲🇽 Mexico
  • 🇮🇩 Indonesia
  • 🇵🇰 Pakistan
  • 🇻🇳 Vietnam
  • 🇵🇭 Philippines
  • 🇰🇪 Kenya
  • 🇪🇬 Egypt
  • 🇧🇷 Brazil
  • 🇲🇽 Mexico
  • Mexico

    • Overview
    • Error Code
    • Payment API
    • PaymentPage API
    • Payout API
    • Payment Query API
    • Payout Query API
    • Balance Inquiry API
    • Payment Notify API
    • Bank List

Payment Query API

    Tips

    • All requests are Post requests, and the data format is json

    Brief Description

    • None

    Request URL

    • /v1/paypro/queryPayInResult

    Request Method

    • POST

    Header

    HeaderRequiredTypeDescription
    merchantNoNostringNone

    Request Body Parameters

    NameRequiredTypeDescription
    tradeNoYesstringThe transaction number provided by the merchant during collection
    timestampYesstringTimestamp
    signYesstringEncrypted signature

    Request Example

    {
      "sign": "ac13b9abf95c66ffc4025abaaeeb3a83",
      "timestamp": "1728613488294",
      "tradeNo": "test_00000008"
    }
    

    Successful Response Example

    Parameter NameRequiredTypeDescription
    msgYesstringRequest result (Returning "success" only indicates the request was successful; it should not be used for merchant-side logic)
    codeYesstringRequest response code (Returning "0000" only indicates the request was successful; it should not be used for merchant-side logic)
    timestampYesstringTimestamp (e.g., 1715941383720)
    successYesstringTransaction result
    dataYesObjectResponse object
    data.tradeNoYesstringTransaction number returned by the merchant
    data.platFormTradeNoYesstringPayPro transaction number
    data.statusYesstringRequest result. The merchant can use this for logical processing. "0000" indicates transaction success, "0001" indicates partial transaction success based on the actual payment amount, "0015" indicates processing, and other codes are error codes that can be treated as failures.
    data.amountYesstringActual payment amount; there may be cases of partial payment
    data.receivedAmountYesstringActual received amount
    data.messageYesstringError description

    Successful Response Example:

    {
        "msg": "success",
        "code": "0000",
        "timestamp": 1728613513280,
        "success": true,
        "data": {
            "tradeNo": "test_00000008",
            "payproTradeNo": "68o0uwogz7mnzutt",
            "status": "00029",
            "amount": "300",
            "receivedAmount": "230",
            "createTime": "2024-10-11 9:30:13",
            "successTime": "2024-10-11 10:30:13",
            "message": "Collection order timed out without payment"
        }
    }
    

    Last Updated:
    Contributors: wsc
    Prev
    Payout API
    Next
    Payout Query API