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

PaymentPage API

  • PaymentPage API redirects users to a predefined payment page. This simplifies the process for clients as they do not need to manage the payment flow themselves; everything is handled by the PSP.

    Tips

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

    API Documentation for Payment Link Interface

    Brief Description

    Cashier payment interface.

    Request URL

    • /v1/paypro/paymentLink

    Request Method

    • POST

    Collection Method Codes

    wayCodeDescription
    storeConvenience store
    vaVa repayment (CLABE)

    Header

    HeaderRequiredTypeDescription
    merchantNoYesstring-

    Body

    Parameter NameRequiredTypeDescription
    signYesstringExcept for sign, the remaining fields are sorted by the first letter to form key1=value1key2=value2, then use app secret as salt for MD5 encryption. The sign should be in lowercase letters.
    timestampYeslongTimestamp (e.g., 1715941383720)
    tradeNoYesstringTransaction number (should be unique, suggested format: YYYYMMDDHHMMSS + random number)
    amountYesstringAmount (no decimal support)
    mobileNostringUser's mobile phone number
    emailNostringEmail address
    payerNostringPayer's name
    wayCodeNostringCollection method code
    notifyUrlYesstringAsynchronous callback URL
    returnUrlNostringCashier page redirect URL, remove escape characters “\”, reference format: https://www.abc.com/. If not provided, it will redirect to the system's default success page.
    remarkNostringRemark, this field will be returned as is.

    Request Parameter Example

    {
      "sign": "0be92a962072b1786a01a2cab4891a1d",
      "timestamp": "1728609257212",
      "tradeNo": "test_00000008",
      "amount": "300",
      "mobile": "15745896325",
      "email": "[email protected]",
      "payer": "kevin zhang",
      "wayCode": "va",
      "notifyUrl": "https://google.com",
      "returnUrl": "http://abc.com/callback_page",
      "remark": "test"
    }
    

    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
    data.platFormTradeNoYesstringPayPro transaction number, unique
    data.statusYesstringRequest result. The merchant can use this for logical processing. "0000" indicates transaction success, "0001" indicates partial payment, "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.paymentUrlYesstringPayment link, i.e., the cashier 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
    Payment API
    Next
    Payout API