PayproPaypro
  • 🇮🇩 Indonesia
  • 🇵🇰 Pakistan
  • 🇵🇭 Philippines
  • 🇮🇳 India
  • 🇰🇪 Kenya
  • 🇪🇬 Egypt
  • 🇲🇽 Mexico
  • 🇨🇴 Colombia
  • 🇧🇩 Bangladesh
  • 🇧🇷 Brazil
  • 🇰🇷 SouthKorea
  • 🇳🇬 Nigeria
  • 🇮🇩 Indonesia
  • 🇵🇰 Pakistan
  • 🇵🇭 Philippines
  • 🇮🇳 India
  • 🇰🇪 Kenya
  • 🇪🇬 Egypt
  • 🇲🇽 Mexico
  • 🇨🇴 Colombia
  • 🇧🇩 Bangladesh
  • 🇧🇷 Brazil
  • 🇰🇷 SouthKorea
  • 🇳🇬 Nigeria
  • Colombia

    • Overview
    • Error Code
    • Payment Link API
    • Disbursement
    • Payment Query API
    • Payout Query API
    • Balance Inquiry API
    • Payment Notify API
    • Disbursement Bank Codes

Payment Query API

    Tips

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

    Brief Description

    • Query the current status and details of a collection order.

    Request URL

    • /v1/paypro/queryPayInResult

    Request Method

    • POST

    Header

    HeaderRequiredTypeDescription
    merchantNoYesStringMerchant number

    Request Body Parameters

    NameRequiredTypeDescription
    tradeNoYesStringMerchant transaction number used when creating the collection order
    timestampYesLong13-digit Unix timestamp in milliseconds
    signYesStringRequest signature generated using the signature logic in the Overview

    Request Example

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

    Response Parameters

    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)
    timestampYesLongTimestamp (e.g., 1715941383720)
    successYesBooleanWhether the API request was accepted
    dataYesObjectResponse object
    data.tradeNoYesstringMerchant transaction number
    data.platFormTradeNoYesstringPayPro transaction number
    data.statusYesstringTransaction status: 0000 success, 0015 processing, or 00029 failed.
    data.amountYesstringCollection amount in COP
    data.successTimeConditionalstringTransaction success time, formatted as yyyy-MM-dd HH:mm:ss; returned after a successful transaction
    data.messageYesstringStatus or error description

    Failed Response Example

    {
        "msg": "success",
        "code": "0000",
        "timestamp": 1728613513280,
        "success": true,
        "data": {
            "tradeNo": "test_00000008",
            "platFormTradeNo": "68o0uwogz7mnzutt",
            "status": "00029",
            "amount": "300",
            "message": "Collection order timed out without payment"
        }
    }
    

    Last Updated:
    Contributors: gxwu
    Prev
    Disbursement
    Next
    Payout Query API