PagoEfectivo
Process payments with PagoEfectivo in Peru. Generate CIP codes and payment vouchers for cash or online banking payments, and learn how to handle pending transactions via the Bamboo API.
PagoEfectivo allows payers to complete their purchases in cash or through their online banking app using a unique payment code (CIP). When this method is selected, Bamboo generates the CIP and a payment URL where the payer can view the voucher and complete the payment.
The transaction remains in Pending status until the payment is confirmed by PagoEfectivo and updated asynchronously by Bamboo.
Redirect Flow for PagoEfectivoThis payment method uses a Redirect flow.
The API response includes the CIP and a payment URL that the payer can use to complete the transaction.
Request parameters
The following parameters are required specifically for this payment method.
Refer to the Create a Purchase guide for standard fields and authentication details.
Property | Type | Description |
|---|---|---|
|
| Must be |
|
| Must be |
|
| Payer’s email address. Required. |
|
| Payer’s first name. Required. |
|
| Payer’s last name. Required. |
|
| Payer’s phone number, including country code (e.g., |
|
| Use one of the valid values from the Document types table. Optional. |
|
| Identification number according to the selected document type. Optional. |
|
| Payer’s country. Optional. |
|
| Department or region. Optional. |
|
| City of residence. Optional. |
|
| Full address details. Optional. |
|
| ZIP or postal code. Optional. |
|
| Defines how long the payment remains valid (in minutes). |
Request example
To test this endpoint, use the API Reference or the Postman Collection
{
"PaymentMethod": "PEC",
"Order": "PE-PEC-0001",
"Amount": 100,
"Currency": "PEN",
"Description": "Compra con PagoEfectivo - prueba",
"TargetCountryISO": "PE",
"Customer": {
"FirstName": "Lucía",
"LastName": "Fernández",
"Email": "[email protected]",
"PhoneNumber": "+51987654321",
"DocumentType": "DNI.PE",
"DocumentNumber": "12345678",
"ReferenceCode": "PE-REF-001",
"Address": {
"Country": "PE",
"City": "Lima",
"State": "Lima",
"PostalCode": "15046",
"AddressDetail": "Av. Arequipa 1234, Miraflores"
}
},
"MetaDataIn": {
"PaymentExpirationInMinutes": 1440
}
}Response parameters
The API returns the purchase in Pending status and includes the CIP (payment code) generated by PagoEfectivo along with its expiration date and payment URL.
| Property | Type | Description |
|---|---|---|
MetadataOut → PaymentCode | string | Unique CIP (Código de Identificación de Pago) generated by PagoEfectivo. |
MetadataOut → PaymentExpirationDate | string | Expiration date of the CIP. Format: ISO 8601. |
MetadataOut → PaymentUrl | string | URL of the voucher where the payer can view or print the CIP and payment instructions. |
For more information on the full response structure, refer to the Response parameters section of the Purchase creation guide.
Response example
{
"TransactionId": "135483617504670912",
"Result": "COMPLETED",
"Status": "PENDING",
"ErrorCode": null,
"ErrorDescription": null,
"Created": "2025-01-08T20:43:31.580",
"AuthorizationDate": "2025-01-08T20:43:32.263",
"AuthorizationCode": null,
"Amount": 378,
"Currency": "PEN",
"Installments": 1,
"TaxableAmount": null,
"Tip": null,
"Url": "https://api.stage.bamboopayment.com/Purchase/135483617504670912",
"MetadataOut": {
"PaymentCode": "1691391",
"PaymentUrl": "https://pre1a.payment.pagoefectivo.pe/A7272995-6F97-422E-BB5B-9D0A25BB47EF.html",
"PaymentExpirationDate": "2025-01-08T15:58:31-05:00"
},
"Action": null,
"PaymentMethod": {
"Brand": "PagoEfectivoPeru",
"CardOwner": null,
"Bin": null,
"IssuerBank": null,
"Type": "PhysicalNetwork",
"Expiration": null,
"Last4": null
}
}Buyers can complete their payment in cash or through their bank or wallet app using the CIP code or the QR code displayed on the voucher.
Once the payment is confirmed by PagoEfectivo, Bamboo automatically updates the transaction status to Completed.
Discover the API
Country Requirements
Review country-specific requirements, documents, and supported currencies.
Create a Payment
Explore complete request and response examples in the API Reference.
Error Codes
Review all possible error responses and how to handle them.
Updated about 20 hours ago
