Peru
The necessary information for Peru is presented below in order to carry out a correct payout.
Mandatory parameters
country
String (Required- Lenght: 3 characters)
ISO 3166-1-alpha-3. In the case of Peru: PER
amount
Integer (Required max-lenght = 10 digits)
The amount of the transaction. The 2 last digits will be consider as decimal. Ex: 100000 equals "one thousand"
currency
String (Required- Lenght: 3 digits)
The currency of the payroll. ISO-4217. In the case of PER: PEN o USD You can see the explication on Currencies
orderId
String (Required- Max Lenght: 20 characters)
Merchant transaction code. This ID must be unique per transaction.
description
String (Optional - Max Lenght: 50 characters)
For customer use. This is the name that will appear in the payment reference for transfers to YAPE (037) and it´s mandatory.
beneficiary.name
String (Required)
Name of the Beneficiary
beneficiary.lastName
String (Required)
Last name of the Beneficiary
beneficiary.email
String (Optional- Max Lenght: 50 characters)
Beneficiary's email
beneficiary.document.type
Integer (Required)
Contains the beneficiary's document type. You must enter the parameter as indicated in "Document Validations"
beneficiary.document.number
String (Required)
Contains the beneficiary's document number. You can see how many digits must it have in "Document Validations"
destination.bankAccount.bankCode
String (Optional - Lenght: 3 characters)
Code of the receiving bank or financial institution as indicated in "Bank List". It is mandatory if account type is "Cellphone Number (4)".
destination.bankAccount.accountType
Integer (Required) Type of Account of the beneficiary to pay. You must enter the numeric code.
destination.bankAccount.accountNumber
Integer (Optional) Beneficiary's account number. In the case of account type is "Cellphone Number"(4), the merchant have to send the phone number. Ex: 948474375
destination.bankAccount.cci
Integer (Required - Lenght: 20 digits)
"Codigo de Cuenta Interbancaria (CCI)". Interbanking number account.
subMerchantInfo.code
String (Required only for PSP) Submerchant Identifier
subMerchantInfo.name
String (Required only for PSP) Submerchant Name. This is the name that will appear in the payment reference for transfers to YAPE (037) and it´s mandatory.
subMerchantInfo.url
String (Required only for PSP) Submerchant URL
New Feature:
Email Notification to the Beneficiary
It is now possible to automatically send emails to the beneficiary with the outcome of the Payout (success or rejected).
Requirements:
Request the activation of "Email notifications to the user" through your account manager.
Include the
beneficiary.email
parameter in each transaction. If this field is missing, the email will not be sent.
Request Example
Payout example for Bank Transfer
{
"country": "PER",
"amount": 100000,
"currency": "PEN",
"orderId": "R123456",
"description": "FreeTextFreeTextFreeTextFreeText",
"beneficiary": {
"name": "Sergio",
"lastName": "test",
"email": "[email protected]",
"document": {
"type": 1,
"number": "12345678"
}
},
"destination": {
"bankAccount": {
"bankCode": "002",
"accountType": "1",
"cci": "00243000584290204477"
}
}
}
Payout example for Cellphone Number (Wallets)
{
"country": "PER",
"amount": 100000,
"currency": "PEN",
"orderId": "R123456",
"description": "FreeTextFreeTextFreeTextFreeText",
"beneficiary": {
"name": "Sergio",
"lastName": "test",
"email": "[email protected]",
"document": {
"type": 1,
"number": "12345678"
}
},
"destination": {
"bankAccount": {
"bankCode": "037",
"accountType": "4",
"accountNumber": "938267873"
}
}
}
Time Outs
In the case of receiving a Time Out as a response from this API we recommend resending the payout again after 30 seconds using the same orderId.
This way we will check if the payout was processed and avoid double payments.
Document Validations
1
DNI
8 digits
2
PAS
7 - 12 digits
3
CE
8 - 12 digits
4
RUC
11 digits
Account Type
1
Current Account
2
Savings Account
4
Cellphone Number (Wallets)
In the "Account Type - Cellphone Number" field, the corresponding cellphone number must be entered to process the payout correctly.
The payout can be made not only to wallets (Yape, Plin, Bim) but also to financial entities (Bank List) associated with the cellphone number. For example, a cellphone number could have 3 entities associated: "Yape", "Plin" and "Banco Pichincha".
Account Number Information
Banco BBVA (001)
Field “accountNumber” must contain 18 or 20 digits EX: 001106660100012345 (18 digits) EX: 00110666010001234512 (20 digits)
Banco de Credito (002)
Field “accountNumber” must contain: - 13 digits for Current or Master Account - 14 digits for Savings Account
Interbank (003)
Field “accountNumber” must contain 13 digits
Scotiabank (004)
Field “accountNumber” must contain 10 digits 0037651234 (10 digits: 3 agency + 7 account)
For any other bank or financial institution
A 20-digit CCI interbank account code must be entered. Example: 00219400254640654321 (20 digits)
Wallets (Yape,Plin, Bim, CCE directory)
Field “accountNumber” must contain 9 digits and start with "9".
Bank List
Below are the entities we support according to the processing time (real-time or batch).
001
Banco BBVA
002
Banco de Credito
003
Interbank
004
Scotiabank
005
Banco de Comercio
006
Banco Interamericano de Finanzas (BanBif)
007
Banco Pichincha
008
Citibank
011
Banco GNB
014
Banco Santander
016
Banco Cencosud
017
ICBC PERU BANK
018
Banco de la Nación
019
Caja Arequipa
020
Caja Cusco
021
Caja Huancayo
022
Caja Maynas
023
Caja Metropolitana
024
Caja Municipal Ica
026
Caja Sullana
027
Caja Tacna
028
Caja Trujillo
029
Credinka
030
Banco Falabella
031
Caja Los Andes
032
Mibanco
033
Bim (Wallet)
034
Caja Piura
035
Ripley
036
Financiera Efectiva
037
Yape (Wallet)
038
Compartamos Financiera
039
Banco Alfin
040
Plin (Wallet)
041
Cooperativa Abaco
042
Luqea
043
Tarjetas Peruanas Prepago (Ligo)
044
Financiera Confianza
045
Prex
046
Tarjeta Oh
047
Crediscotia
048
Dale
049
Global66
Last updated