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 API

    Tips

    • All requests are Post requests, and the data format is json
    Brief Description
    • None
    Request URL
    • /v1/paypro/payin
    Request Method
    • POST
    Header
    HeaderRequiredTypeDescription
    merchantNoYesstring-
    Body
    Parameter NameRequiredTypeDescription
    signYesstringExcept for the sign, concatenate the remaining fields in alphabetical order to form key1=value1key2=value2, then use the app secret as salt to perform MD5 encryption. The sign should be in lowercase letters.
    timestampYeslongTimestamp (e.g., 1715941383720)
    amountYesstringPayment amount
    wayCodeYesstringSupported payment types:
    • E-wallet: EWALLET_BKASH、EWALLET_NAGAD
    tradeNoYesstringTransaction number (should be unique; suggested format: YYYYMMDDHHMMSS + random number)
    remarkNostringRemarks; this field will be returned as is
    notifyUrlYesstringAsynchronous callback URL (e.g., https://www.abc.com/); if not provided, the system will redirect to the default success page
    returnUrlNostringRedirect page after successful payment
    Request Parameter Example
    {
      "sign": "0be92a962072b1786a01a2cab4891a1d",
      "timestamp": "1728609257212",
      "tradeNo": "test_00000008",
      "amount": "300",
      "notifyUrl": "https://google.com",
      "wayCode":"EWALLET_BKASH",
      "remark":"test",
      "returnUrl": "http://abc.com/callback_page"
    }
    
    Response Result
    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)
    timestampYesstringTransaction time
    successYesstringTransaction result
    dataYesObjectResponse object
    data.tradeNoYesstringMerchant transaction number returned
    data.platFormTradeNoYesstringUnique paypro transaction number
    data.statusYesstringRequest result; merchants can use this for logical processing. "0000" indicates transaction success, "0015" indicates processing, and other codes are error codes that can be treated as failures.
    data.descYesstringError description
    data.remarkYesstringReturned content of the request (returned as is)
    data.paymentLinkYesstringPayment link, i.e., the cashier URL
    Successful Response Example
    {
        "msg": "success",
        "code": "0000",
        "timestamp": 1728609277476,
        "success": true,
        "data": {
            "kiliTradeNo": "68o0uwogz7mnzutt",
            "status": "0015",
            "desc": "Create",
            "remark": "test",
            "paymentLink": "https://checkout.tpservice.vip/#/order/bd/P1844547116046675970"
        }
    
    }
    
    Last Updated:
    Contributors: wsc
    Prev
    Error Code
    Next
    Payout API