PSE

Learn how to accept PSE, a common payment method in Colombia.

PSE (short for “pago seguro electronico”) is a bank transfer payment solution used in Colombia. PSE is an interface payment method which allows users to pay directly from their bank account in real time and without a credit card.

Payment typeBank transfer
MarketColombia
Customers currenciesCOP
Processing currenciesCOP
RefundsNo
PayoutsNo

Step 1. Make a transaction request

From your server, make a POST /payment_preauthorize request.

https://sandbox.payabl.com/pay/backoffice/payment_preauthorize

Include in the request parameters below:

🚧

The below parameters are mandatory for PSE

  • merchantid: The merchant identification number.
  • orderid: The field orderid is optional and exclusively for the merchant's convenience.
  • amount: The amount field contains the transaction’s total amount. This is the amount that will be transmitted to the authorizing system.
  • currency: The currency field contains the alphanumeric currency code for the transaction, according to ISO 4217, e.g. COP.
  • payment_method: The payment method id - 130 (or 126 if instructed by tech support).
  • signature: The signature field contains a 40-figure hexadecimal value. This signature value is a checksum designed to protect the merchant account from unauthorized access.
  • email: The customer's email address.
  • custom2: The name of payment method - pse.
  • nationalid: Consumer’s national id, has to satisfy the following regular expression: NIT: 10 digits, CC: 6~10 digits.
  • nationaltype: User's identification type NIT or CC
    You can see a full list of parameters in Pre-Authorization.
  • phone: max. 20 characters, only numbers.
  • bank_id: Bank ID

Please find below Bank ID values:


Bank IDBank Name
1831ACCION FIDUCIARIA
1815ALIANZA FIDUCIARIA
1558BAN100
1059BANCAMIA S.A.
1040BANCO AGRARIO
1052BANCO AV VILLAS
1013BANCO BBVA COLOMBIA S.A.
1032BANCO CAJA SOCIAL
1066BANCO COOPERATIVO COOPCENTRAL
1051BANCO DAVIVIENDA
1001BANCO DE BOGOTA
1023BANCO DE OCCIDENTE
1062BANCO FALABELLA
1063BANCO FINANDINA S.A. BIC
1012BANCO GNB SUDAMERIS
1006BANCO ITAU
1071BANCO J.P. MORGAN COLOMBIA S.A.
1047BANCO MUNDO MUJER S.A.
1060BANCO PICHINCHA S.A.
1002BANCO POPULAR
1065BANCO SANTANDER COLOMBIA
1069BANCO SERFINANZA
1303BANCO UNION
1007BANCOLOMBIA
1061BANCOOMEVA S.A.
1808BOLD CF
1283CFA COOPERATIVA FINANCIERA
1009CITIBANK
1812COINK SA
1370COLTEFINANCIERA
1292CONFIAR COOPERATIVA FINANCIERA
1289COTRAFA
1816CREZCAMOS
1097DALE
1019DAVIbank S.A.
1551DAVIPLATA
1802DING
1121FINANCIERA JURISCOOP SA COMPAÑÍA DE FINANCIAMIENTO
1814GLOBAL66
1637IRIS
1286JFK COOPERATIVA FINANCIERA
1070LULO BANK
1801MOVII S.A.
1507NEQUI
1809NU
1824PAYCASH
1803POWWI
1811RAPPIPAY
1804UALÁ

Step 2. Handle the redirect

To complete the payment, you need to redirect the customer to the correct URL in the response.

Response

transactionid=105353928&transid=105353928&status=2000&errormessage=pending&errmsg=pending&amount=1.23&
price=1.23&currency=COP&orderid=Payabl-Test&redirect_url=https://secure.payty.com/t/gaf1x7fu&user_id=787896

Step 3. Transaction states

If the customer successfully completed the transaction, you will receive a notification with confirmation.

Notification example (successful transaction):

orderid=Payabl-Test&errorcode=0&security=e76fac903aabf3a9f2233c910caf52935b0c7744c6466ae49ef6a6da5435f29b&
payment_method=130&errormessage=&payment_state=credited&timestamp=1693294206&transactionid=105353928&type=capture

If the customer initiated the transaction but didn't finalize it, you will receive a failed notification.

Notification example with error:

transactionid=105353943&transid=105353943&status=-66182&errormessage=Wrong national ID&errmsg=Wrong national ID&
amount=1.23&price=1.23&currency=COP&orderid=Payabl-Test&user_id=787896&error_codes=&error_messages=