Skip to main content

Banesco

Introduction

This document provides the specifications for implementing Banesco payment methods through the Luka API.

The URL is specified in Environments.

Authentication is done via a token (JWT) returned by the login method using the credentials provided by Lukapay. See documentation.

Payment methods

Mobile Payment

Allows registering and validating payments made through the mobile payment method.

Request

POST {URL}/api/v1/transaccion/banesco.pagomovil

Headers

Content-Type: application/json
Authorization: Bearer {token}
userIp: {customer's IP address}

Request Body

Field NameDescriptionTypeRequired
NombrePagadorCustomer's nameStringNo
CodigoBancoPagadorCode of the bank where the funds are being transferredStringYes
TelefonoPagadorPhone number from which the mobile payment was madeStringYes
CedulaIdentification document of the natural or legal customer receiving the fundsStringYes
NumeroReferenciaReference number of the mobile payment madeStringYes
NumeroCuentaAlways send as an empty stringStringYes
MontoAmount of the transactionNumberYes
EmailEmail address of the customer making the paymentStringYes
IdTrazaUnique trace identifier in the merchant's databaseStringYes
ReferenciaIdentification of the final customer if neededStringNo
idCanalChannel through which the transaction is made. Possible values: 1: Gateway, 2: API (default), 3: Payment Link, 4: Android, 5: iOSNumberNo
FechaMovimientoDate when the mobile payment was made. Format: “DD/MM/YYYY”StringYes
TipoAgentDevice from which the connection is madeStringNo
DireccionIpIP address from which the connection is madeStringYes
CargosAdicionalesObject with additional charges informationObjectNo
MontoOriginalObject with information on the original amount. Used when currency conversion is appliedObjectNo

Response

Field NameDescriptionType
CanalChannel used to process the paymentNumber
CargosAdicionalesAdditional charges detailsObject
CuotasInformation about payment installmentsObject
DescripciónResponse providing the transaction status and any additional informationString
ExitosoIndicates if the transaction was successfulBoolean
FechaOperacionDate and time of the transactionString
InfoProcesoDetailed information about the transaction statusObject
InfoTarjetaCredit card details used for payment (if applicable)Object
InfoUsuarioPagadorInformation about the customer making the paymentObject
MedioDePagoPayment method usedString
MerchantIdMerchant's transaction identifierString
MonedaCurrency used for the paymentString
MontoAmount paidNumber
MontoOriginalInformation about the original amount (if currency conversion applies)Object
MontoUsdValue of the amount in U.S. dollarsNumber
TarjetaHabientePayer's details if a card is usedObject
TransaccionIdTransaction identifier in LukapayNumber
TransaccionMerchantIdTransaction identifier from the merchantNumber
TrazaIdUnique identifier for the transaction in the merchant's databaseString

For more details on the response objects, see Transaction Response.

Example Usage

Request Body

{
"IdTraza": "12fcb37859ed",
"Descripcion": "Chrome",
"DireccionIp": "1.1.1.1",
"TipoAgent": "Cell phone",
"NombrePagador": "Pedro Perez",
"CodigoBancoPagador": "0134",
"TelefonoPagador": "584121234567",
"IdCanal": 2,
"Cedula": "V12345678",
"NumeroCuenta": "",
"NumeroReferencia": "123456789",
"Monto": 16.03,
"Email": "demo@example.com",
"Link": null,
"MontoOriginal": null,
"CargosAdicionales": null,
"Referencia": "",
"FechaMovimiento": "09/08/2024"
}

Response Body

{
"Monto":16.03,
"MontoUsd":0,
"InfoProceso": {
"EstatusProcesamiento": "pending",
"CodigoRespuestaCvv": null
},
"TarjetaHabiente": null,
"Moneda": "VES",
"InfoTarjeta": null,
"InfoUsuarioPagador": {
"Nombre": "Pedro",
"Apellido": "Perez",
"Email": "demo@example.com"
},
"TransaccionId": 12345,
"MerchantId": 516458,
"Descripcion": "transaction under review",
"TrazaId": "1362c6e9f67e",
"Exitoso": true,
"MedioDePago": "Mobile payment",
"Canal": "API",
"MontoOriginal": null,
"MerchantId": "30867220134",
"FechaOperacion": "05/07/2024 19:23:20",
"CargosAdicionales": null,
"Cuotas": null
}

Bank Transfer

Allows registering payments through the transfer method.

Request

POST {URL}/api/v1/transaccion/banesco.transferencia

Headers

Content-Type: application/json
Authorization: Bearer {token}
userIp: {customer's IP address}

Request Body

Field NameDescriptionTypeRequired
NombrePagadorCustomer's nameStringNo
CodigoBancoPagadorCode of the bank where the funds are being transferredStringYes
CedulaIdentification document of the natural or legal customer receiving the fundsStringYes
NumeroCuentaDestination account number of the fundsStringYes
NumeroReferenciaReference number of the payment madeStringYes
MontoAmount of the transactionNumberYes
EmailEmail address of the customer making the paymentStringYes
IdTrazaUnique trace identifier in the merchant's databaseStringYes
ReferenciaIdentification of the final customer if neededStringNo
IdCanalChannel through which the transaction is made. Possible values: 1: Gateway, 2: API (default), 3: Payment Link, 4: Android, 5: iOSNumberNo
FechaMovimientoDate when the transfer was made. Format: “DD/MM/YYYY”StringYes
TipoAgentDevice from which the connection is madeStringNo
DireccionIpIP address from which the connection is madeStringYes
CargosAdicionalesObject with additional charges informationObjectNo

Response

Field NameDescriptionType
CanalChannel used to process the paymentNumber
CargosAdicionalesAdditional charges detailsObject
CuotasInformation about payment installmentsObject
DescripciónResponse providing the transaction status and any additional informationString
ExitosoIndicates if the transaction was successfulBoolean
FechaOperacionDate and time of the transactionString
InfoProcesoDetailed information about the transaction statusObject
InfoTarjetaCredit card details used for payment (if applicable)Object
InfoUsuarioPagadorInformation about the customer making the paymentObject
MedioDePagoPayment method usedString
MerchantIdMerchant's transaction identifierString
MonedaCurrency used for the paymentString
MontoAmount paidNumber
MontoOriginalInformation about the original amount (if currency conversion applies)Object
MontoUsdValue of the amount in U.S. dollarsNumber
TarjetaHabientePayer's details if a card is usedObject
TransaccionIdTransaction identifier in LukapayNumber
TransaccionMerchantIdTransaction identifier from the merchantNumber
TrazaIdUnique identifier for the transaction in the merchant's databaseString

For more details on the response objects, see Transaction Response.

Example Usage

Request Body

{
"IdTraza": "a56eb50786c2",
"Descripcion": "Chrome",
"DireccionIp": "1.1.1.1",
"TipoAgent": "Cell phone",
"NombrePagador": "Pedro Perez",
"CodigoBancoPagador": "0156",
"IdCanal": 2,
"Cedula": "V12345678",
"NumeroCuenta": "0102-0000-0000-12345678",
"NumeroReferencia": "123456789",
"MontoOriginal": null,
"Monto": 16.03,
"Email": "demo@example.com",
"FechaTransaccion": "09/08/2024",
"Link": null,
"Referencia": "",
"CargosAdicionales": null
}

Response Body

{
"Monto":16.03,
"MontoUsd":0,
"InfoProceso": {
"EstatusProcesamiento": "pending",
"CodigoRespuestaCvv": null
},
"TarjetaHabiente": null,
"Moneda": "VES",
"InfoTarjeta": null,
"InfoUsuarioPagador": {
"Nombre": "Pedro",
"Apellido": "Perez",
"Email": "demo@example.com"
},
"TransaccionId": 12345,
"MerchantId": 516458,
"Descripcion": "transaction under review",
"TrazaId": "a56eb50786c2",
"Exitoso": true,
"MedioDePago": "Transfer",
"Canal": "API",
"MontoOriginal": null,
"MerchantId": "30867220134",
"FechaOperacion": "05/07/2024 19:23:20",
"CargosAdicionales": null,
"Cuotas": null
}

Account Charge

Work in progress.

Webhooks for Asynchronous Payments

Our platform validates the payment reference provided by the user in real-time. If the reference is not automatically found, the transaction is marked as "Pending Review" and retried up to 5 times, with attempts every 2 minutes. If it still cannot be found, the transaction is reviewed manually. In such cases, the user is notified via email. In the integration, the Exitoso field will be marked as true, but you must check InfoProceso.EstatusProcesamiento to determine the actual status of the payment: either success (successful) or pending. The final status is sent through a webhook.

Learn more about webhooks.