PrimeiroPay
Search…
PagoEfectivo
To use PagoEfectivo, you have to use follow their brand guide, listed below:
Country
Currency Accepted
Ecuador
USD
Peru
PEN, USD
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
Transactions Types
Meaning
Success return codes
RC
Successful generation of the PagoEfectivo payment slip.
000.000.000 000.100.112 (on staging)
PA
Successful payment of the PagoEfectivo payment slip. The payment of the PagoEfectivo slip is asynchronous and but usully takes up to 5 mintes after the shopper pays to be shown.
000.000.000
⠀⠀⠀⠀⠀⠀

Initial Request

1
//send POST to https://test.oppwa.com/v1/payments
2
//Header -H "Authorization: Bearer OGE4Mjk0MTg0ZTczNjAxMj1234E2YTE1YjB8ZjJGRUtacXRCUA=="
3
//API credentials entityId=8a8294174ae8145684aedfd75aa1d79 //entityId without authentication"
4
//API credentials end
5
amount=10.00
6
paymentType=PA
7
currency=COL
8
merchantTransactionId=123456
9
paymentBrand=PAGO_EFECTIVO
10
customParameters[CUSTOM_due_date]=23032020 122343 //optional. DDMMAAAA HHMMSS. If not set, default is 3 days.
11
customParameters[DOCTYPE]=DNI //optional. Can be one of the following: DNI (Documento nacional de identidad),PAR (Partida),PAS (Pasaporte),LMI (Libreta militar),NAN (another type)
12
customParameters[DOCNUMBER]=21321321321354 //14 digits, numeric only.
13
customer.phone=32523534532 //optional, phone number with country code. If sent, will be used to send SMS reminders by Pago_Efectivo.
14
[email protected] // optional.
15
customer.givenName=Peter //optional
16
customer.surname=Prado //optional
17
billing.postcode=232424//optional
18
billing.country=PE -> Use country code = service render country. EG: PE
19
shopperResultUrl=http://google.com //Although there is no re-direct back from PagoEfectivo slip to your shop, our API requires this parameter to be present
20
testMode=EXTERNAL // Send this only on test. Delete this entry in live.
Copied!

Successful Response

1
{
2
"id":"8ac7a49f6855fc5801685805636585566",
3
"paymentType":"PA",
4
"paymentBrand":"PAGO_EFECTIVO",
5
"amount":"10.0",
6
"currency":"COL",
7
"presentationAmount":"10.0",
8
"presentationCurrency":"COL",
9
"descriptor":"9201.9521.3874",
10
"merchantTransactionId":"123456",
11
"result":{
12
"code":"000.100.112",
13
"description":"Request successfully processed in 'Merchant in Connector Test Mode'",
14
},
15
"resultDetails":{
16
"ExtendedDescription":"Solicitud exitosa",
17
"AcquirerResponse":"100",
18
"ConnectorTxID1":"2315324"
19
},
20
"billing":{
21
"country":"EC"
22
},
23
"authentication":{
24
"entityId":"8a82941865d7e66c0165e76a6d861c1e"
25
},
26
"redirect":{
27
"url":"https://pre1a.payment.pagoefectivo.pe/3EA6FED6-0A17-463C-BE9D-763007D0E7AB.html",
28
"method":"GET",
29
"parameters":[]
30
},
31
,"timestamp":"2019-01-16 19:00:25+0000",
32
"ndc":"8a82941865d7e66c0165e76a6d861c1e_171ecf9107ae48a4a751bb85490c94fe",
33
"merchantAccountId":"8a82941865d7e66c0165e76c483f1c26" }
Copied!

Re-directing the shopper

From the success response you will be able to extract the URL (under redirect → URL) to where you re-direct the shopper to in order to display the PagoEfectivo slip itself. Please note that the staging environment of the bank may show an error from time to time instead of the actual payment slip.
⠀⠀⠀⠀⠀⠀⠀⠀

Retrieve notifications when the Pago-Efectivo slip is paid

PagoEfectivo use webhooks to inform paid slips.
Webhooks with paymentType RC and result_code = '000.000.000' (or 000.100.112 on staging )are PagoEfectivo payment slips paid.
1
{
2
"type":"PAYMENT",
3
"payload":{
4
"id":"8ac7a49f6855fc58016858092e4d6e26",
5
"paymentType":"RC",
6
"paymentBrand":"PAGO-EFECTIVO",
7
"amount":"10.0",
8
"currency":"COL",
9
"presentationAmount":"10.0",
10
"presentationCurrency":"COL",
11
"descriptor":"9201.9521.3874",
12
"merchantTransactionId":"123456",
13
"result":{
14
"code":"000.100.112",
15
"description":"Request successfully processed in 'Merchant in Connector Test Mode'",
16
"randomField983954327":"Please allow for new unexpected fields to be added"
17
},
18
"resultDetails":{
19
"ExtendedDescription":"Transaction succeeded",
20
"AcquirerResponse":"00",
21
"AuthCode":"700000000001431901201900010005",
22
"ConnectorTxID1":"8ac7a49f6855fc58016858092e4d6e26"
23
},
24
"billing":{
25
"country":"EC"
26
},
27
"authentication":{
28
"entityId":"8a82941865d7e66c0165e76a6d861c1e"
29
},
30
"redirect":{
31
"url":"https://pre1a.payment.pagoefectivo.pe/3EA6FED6-0A17-463C-BE9D-763007D0E7AB.html",
32
"method":"GET",
33
"parameters":[
34
{
35
"name":"barcode",
36
"value":"700000000001431901201900010005"
37
}
38
]
39
},
40
"risk":{
41
"score":""
42
},
43
"timestamp":"2019-01-16 19:00:25+0000",
44
"ndc":"8a82941865d7e66c0165e76a6d861c1e_171ecf9107ae48a4a751bb85490c94fe",
45
"merchantAccountId":"8a82941865d7e66c0165e76c483f1c26"
46
}
47
}
Copied!
Name
Description
Format
Example
amount
Amount of the payment request. The dot is used as a decimal separator.
N13 0- 9{1,10}.0 -9{2}
1.00
currency
Currency Code according to ISO 4217 specifications of the payment request’s amount
A3 a-zA-Z{3}
COL
paymentBrand
The brand specifies the method for the request
AN32 a-zA-Z0- 9_ {1,32}
PAGO_EFECTIVO
paymentType
The payment type for the request
A2
PA
entityId
The entity for the request. (e.g. channel)
AN32 a-zA-Z0- 9{32}
8a8294174ae82ada014 aedfd75aa1d79
merchantTransactionID
Merchant-provided reference number
AN255 \s\S{1,25 5}
1234
billing.country
Billing Country (has to be EC for PagoEfectivo to work.
A2
MX
customParametersCUSTOM_due_date
optional. If not set, default is 3 days. Date and time sent is in UTC.
DDMMAAAA HHMMSS
23032020 122343
customParametersDOCTYPE
Optional. Doc type used. Can be one of the following.DNI (Documento nacional de identidad) PAR (Partida) PAS (Pasaporte) LMI (Libreta militar) NAN (another type)
DNI (Documento nacional de identidad) PAR (Partida) PAS (Pasaporte) LMI (Libreta militar) NAN (another type)
DNI
customParametersDOCNUMBER
Optional. Number of the document.
AN14
D42342342334523
customer.phone
Optional, phone number with country code. If sent, will be used to send SMS reminders by PagoEfectivo.
N15
32523534532
customer.email
Optional. Customer email.
AN128 \s\S{6,128}
customer.givenName
Optional. Customer first name.
AN \s\S
Peter
customer.surname
Optional. Customer surename
AN \s\S
Prado
billing.postcode
Customer postcode
AN30 A-Za-z0-9{1,30}
223224
shopperResultUrl
URL
AN2048 \s\S{6,2048}
id
Response id that is unique for each transaction
AN32
8ac7a49f6855fc5801685805636585566
resultDetails.ConnectorTxID1
Acquirer Reference. For PagoEfectivo this is the CIP number
AN255
123141
redirect.url
url for the payment slip
AN255
https://pagoefectivo.pe/234
Pagoefectivo.rar
939B
Binary
PagoEfectivo Json Request
Last modified 1yr ago
Copy link
Contents