Processing with bank accounts

To process transactions using a bank account as a payment instrument, it is necessary to implement the account payment instrument that allows defining the account data to be used, as well as the mechanisms to validate the account using account validation services such as: Account Validator.

Resources

Processing API

Account validator API

Bank account instrument

 "account": {
    "bankName": "Test Bank",
    "bankCode": "0001234",
    "accountType": "SAV",
    "accountNumber": "4111111111111111"
  }

Type of bank accounts

Type
Description
SAV
Personal savings account
DDA
Personal checking account
CCD
Business account

Account validation

To ensure security in bank account processing, it is recommended to use the Account Validator bank account validation service.

With this service, before initiating the payment, the account owner is required to perform a verification operation in a graphical interface.

Once the account owner completes this process, the service is consulted via API and the Account object is obtained with a verification code delivered by the service.

The processing API will be in charge of validating this code delivered by Account Validator and determining if the account has passed the validations, if not, the processing will not continue.

Example of account with validation code

{
  "bankCode": "0001234",
  "bankName": "Banco NO Popular",
  "accountType": "SAV",
  "accountNumber": "4111111111111111",
  "franchise": "_0001234_",
  "verificationCode": "eyJhbGciOiJSUzI1NiJ9.eyJhY2NvdW50SGFzaCI6IjhlM2Q0NDg0ZjIwOTc2ODBmNDA4YzEyMmQ0ZjJiZTdiMDM3YTUzMzIzNmEwNTdmZjdjMzJhMDYwNjFkY2M5MTU0YmRmNGEyOTViNmE4MDUwMmE5N2RiYWFmZGU0YTE2ZmU1MDM0MTQzMTQ2MmFjY2I0N2I5MmIyN2I3MDM2YjQ4Iiwib25UZXN0IjpmYWxzZSwic2VydmljZSI6InBsYWlkIiwiZXhwIjoxNzEzNTYxMDE1fQ.FcEj-HRdf1V6Ypl8db5p7auI_6MTdMrGK34H2u3LeA0KBLzJHc86rFufRsdCqlRoCLc2TuKmxzWVin6QEMtqtxasoeMUqhXo81rhBtHEA0Flj_XNiAFhcP8IEn2dJV8-60oscvSfbVRBKN_5Lk3HqLWNqe0ECDJROWm9lXdYf2tZCukuMWPvVPc91Fg9kO2qHH1wrcc7G_JRdy09LQlAs_MS5_sLdEkFLsS5o5RxwNsknWUkUZuljMlz8Z8vd8GxKg7V5iaBh8r3djsQXJ_EFzk9XLv8P0Ca2MoQ9X1yEVa8HHEdRjlB9OKm7u7_1HyjqAKb_XwWYaRESHrAXC0opQ"
}

Tokenization

A bank account can be tokenized in such a way that charges can be made to said account without the account owner being present.

In this flow, once the account has been validated, a token that represents the account can be generated and can be used to make new transactions.

Check the section Tokenization of the API.

Test Environment

Placetopay has a test environment in which integration flows can be carried out before moving to the production environment.

To simulate different transaction flows (approved, rejected, failed), a transaction simulator is provided with the following accounts enabled:

Test accounts

Number
Behavior
4111111111111111
Approve
5180300000000005
Approve
5180300000000039
Denies
4110760000000008
Approve
5292594382060745
Denies
36545400000008
Approve
36545400000248
Denies
36545400000701
Leave the transaction in manual processing and if it is processed it remains in approved status
36545407030701
Leaves the transaction in pending status and resolves to rejected
36545407032814
Throws an exception in the process
36545400000438
It takes 180 seconds to respond and is in approved status
36545407032780
Leave the transaction in manual processing and if it is processed it remains in approved status
36545407032806
Leave the transaction in pending status and it is resolved to approved
36545407032848
Approve
4110760000000016
Denies
4048370000000037
Leaves the transaction in pending status and resolves to rejected
4110760000000073
Leave the transaction in pending status and it is resolved to approved
4110760000000024
It takes 180 seconds to respond and is in approved status
4110760000000115
It takes 180 seconds to respond and remains in a rejected state
4110760000000057
Approve if the amount is less than 200 USD otherwise reject
4110760000000081
Approve
4381080000000003
Leaves the transaction in pending status and resolves to rejected
4005580000000040
Denies
4110770010002837
Approve
4716375184092180
Denies
4666666666666669
It takes 180 seconds to respond and is in approved status
6550590000000001
Approve
6550590000000019
Denies
6759649826438453
Approve
6557351234543156
Approve
6557351234543164
Denies
5367680000000005
Approve
5367680000000013
Denies
4381080000000029
Approve
4381080000000011
Denies
8810060001592705
Approve
5903090000000000
Approve
5903120000000000
Approve
9391111111111111
Approve
9395555555555555
Denies
6377470107014851
Denies
6377470106963215
Approve
6377470100506457
Approve
6377470106672139
Denies
0215020177972730
Approve
2215714777972730
Approve
2215719446775653
Throws an exception in the process
0215026116775785
Denies