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

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

Payment API

    Tips

    • All requests are Post requests, and the data format is json
    Brief Description
    Request URL
    • /v1/paypro/payIn
    Request Method
    • POST
    Header
    headerRequiredTypeDescription
    merchantNoYesstringNone
    Body
    ParameterRequiredTypeDescription
    signYesstringExcept for the sign field, all remaining fields should be sorted alphabetically by their first letter, combined into key1=value1key2=value2, and encrypted using the app secret as salt via MD5. The final sign value should be in lowercase.
    timestampYeslongTimestamp (1715941383720)
    payerYesstringpayer
    amountYesstringAmount (adjustable from minimum 100 to maximum 10,000, decimal numbers not supported)
    remarkYesstringRemark, this field will be returned as-is
    tradeNoYesstringTransaction number (uniqueness recommended: year, month, day, hour, minute, second + random number)
    mobileYesstringMobile phone number (Mobile phone number verification rule: The first 11 digits from 010 to 018 must be accurate; otherwise, it may affect the collection.)
    emailYesstringemail
    notifyUrlYesstringAsynchronous callback URL
    returnUrlNostringcasher jump url
    Request Parameter Example
    {
      "sign": "0be92a962072b1786a01a2cab4891a1d",
      "timestamp": "1728609257212",
      "tradeNo": "test_00000008",
      "payer": "kevin zhang",
      "amount": "300",
      "mobile":"6789123456",
      "email": "sdkjfksdjfk@gmail.com",
      "notifyUrl": "https://google.com",
      "returnUrl": "http://abc.com/callback_page",
      "remark":"test"
    }
    
    
    Response Result
    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.tradeNoYesstringmerchant request trade no
    data.platFormTradeNoYesstringPaypro transaction number, unique
    data.statusYesstringRequest result. Merchants can use it as a logic process. When the result is 0000, it means the transaction is successful, 0001 means partial payment, 0015 means in processing, and other codes are error codes and can be treated as failures.
    data.descYesstringError description
    data.remarkYesstringThe returned content of the request (returned in the original path)
    data.paymentUrlYesstringpay url
    Successful Response Example
    {
        "msg": "success",
        "code": "0000",
        "timestamp": 1728609277476,
        "success": true,
        "data": {
            "tradeNo": "test_00000008",
            "platFormTradeNo": "68o0uwogz7mnzutt",
            "status": "0015",
            "desc": "Create",
            "remark": "test",
            "paymentUrl": "https://checkout.tpservice.vip/#/order/bd/P1844547116046675970"
        }
    }
    
    
    Last Updated:
    Contributors: wsc
    Prev
    Error Code
    Next
    Payout API