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

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

Payment Query API

    Tips

    • All requests are Post requests, and the data format is json
    Brief Description
    • None
    Request URL
    • /api/queryPayinResult
    Request Method
    • POST
    Header
    headerRequiredTypeDescription
    merchantNoNostringNone
    Request Body Parameters
    NameRequiredTypeDescription
    tradeNoYesstringTransactions requested by the business party
    signYesstringsign
    Request Example
    {
        "tradeNo": "1000002",
    	"sign":"00000000000"
    }
    
    
    Successful Response Example
    ParameterRequiredTypeDescription
    msgYesstringRequest result (when returning success, it only indicates that the request was successful and cannot be used for merchant-side logic judgment)
    codeYesstringRequest response code (when returning 0000, it only indicates that the request was successful and cannot be used for merchant-side logic judgment). For specific error codes, please refer to the business error code enumeration.
    timestampYesstringTransaction time
    successYesstringTransaction result
    dataYesObjectReturn object
    data.platFormTradeNoYesstringpaypro transaction number
    data.amountYesstringTransaction amount
    data.statusYesstringRequest result, merchants can use this for logic processing. When the result is 0000, it indicates a successful transaction; 0015 indicates processing; all other codes indicate errors and can be treated as failures.
    data.messageYesstringError description
    data.successTimeYesstringTransaction success time (Kenya time)
    {
        "msg": "success",
        "code": "0000",
        "timestamp": 1719830071094,
        "success": true,
        "data": {
            "platFormTradeNo": "5286e98841194687a95d25b5f3be346d",
            "tradeNo": "00000020",
            "amount": 3.0000,
            "status": "00029",
            "message": "REJECTED_TRANSACTION",
            "successTime": "2024-07-01 18:34:31"
        }
    }
    
    Last Updated:
    Contributors: wsc
    Prev
    Payout API
    Next
    Payout Query API