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 Link API

  • The Payment API returns a payment URL. Merchants should redirect the user to this URL to complete the payment.
  • Request URL
  • Request Method
  • Way Code
  • Header
  • Body
  • Request Example
  • Response Results
  • Accepted Response Example

Tips

  • All requests use the POST method and the data format is JSON.

Request URL

  • /v1/paypro/payIn

Request Method

  • Method: POST
  • Content-Type: application/json

Way Code

wayCodeDescription
PSEOnline Banking Payment (ACH)
WALLETNequi Digital Wallet Payment
BREBPayment Key (Colombia's new-generation real-time payment. A unique payment key is generated for the user to copy into their banking app. The user can modify the amount.)

Header

HeaderRequiredTypeDescription
merchantNoYesStringMerchant number

Body

Parameter NameRequiredTypeDescription
signYesStringSort all fields except sign alphabetically and concatenate them as key1=value1key2=value2.... Use the app secret as the salt for MD5 encryption. The result must be lowercase.
timestampYesLong13-digit Unix timestamp in milliseconds, for example 1715941383720
tradeNoYesStringUnique merchant transaction number. A timestamp plus a random number is recommended.
amountYesStringPayment amount in COP, expressed as an integer string. Decimals are not supported.
nameYesStringUser's full name
mobileNoStringUser's 10-digit Colombian mobile number, starting with 3
emailNoStringUser's email address
wayCodeYesStringDeposit method code
idTypeConditionalStringID type: CC (Citizen ID), CE (Foreigner ID), NIT (Tax ID), or PA (Passport). Required for PSE, WALLET, and BREB.
idCardNumberConditionalStringID number matching idType: CC and CE require 6–10 digits; NIT and PA require 9 digits. Required for PSE, WALLET, and BREB.
bankCodeConditionalStringBank code. Required for PSE. Use the applicable code from the Colombia bank-code list.
notifyUrlYesStringHTTPS endpoint that receives asynchronous server-to-server transaction notifications
returnUrlYesStringURL to which the user's browser is redirected after the payment flow
remarkYesStringMerchant remark returned unchanged in the response

Request Example

{
  "timestamp": 1750911986148,
  "amount": "10000",
  "wayCode": "PSE",
  "idType": "CC",
  "idCardNumber": "1114818656",
  "bankCode": "0001",
  "tradeNo": "LoMwIKtsIKOWMpEJwTDtO",
  "remark": "Test remark",
  "email": "payer@example.com",
  "mobile": "3123456789",
  "name": "test name",
  "notifyUrl": "https://merchant.example/payment/notify",
  "returnUrl": "https://merchant.example/payment/result",
  "sign": "516c96dcc5816133cabf14d205de4069"
}

Response Results

Parameter NameRequiredTypeDescription
msgYesStringRequest result. A value of success only means the request was accepted and must not be used as the transaction result.
codeYesStringRequest response code. 0000 only means the request was accepted. Refer to the error-code documentation for other values.
timestampYesLongTransaction timestamp
successYesBooleanWhether the API request was accepted
dataYesObjectResponse object
data.tradeNoYesStringMerchant transaction number
data.platFormTradeNoYesStringPaypro transaction number, unique
data.statusYesStringTransaction status: 0000 success, 0015 processing, or 00029 failed.
data.descYesStringStatus description
data.remarkYesStringMerchant remark returned unchanged
data.paymentUrlYesStringPayment redirect URL

Accepted 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.example/payment/68o0uwogz7mnzutt"
  }
}
Last Updated:
Contributors: gxwu
Prev
Error Code
Next
Disbursement