Trade Result Notification Specification
In case the trade wishes to receive a notification of the final status of the trade the trade must expose a web service that meets the following definitions:
It will be taken from the urlIPN field indicated in the input data of the section Parameter definition
1. Shipment data
The exposed service will have to accept the following data because they will be the values that Izipay will send.
Input header Headers
.
The service exposed by the client must accept the following HTTP header:
Unique ID for each transaction generated by the trade, sent in the security api (Token Session) equivalent to the Correlation ID for the transaction flow.
Lenght: 5 - 40
Input parameters Body
.
The service exposed by the client shall accept the following fields:
Authorization response code
00
Authorization response message, according to the language
OK
Friendly message for the user, according to the language
Operación exitosa
Friendly message for the user in English
Successful
Response data object
Indicator of the payment method of the purchase
CARD
QR
APPLE_PAY
YAPE_CODE
PAGO_PUSH
CARD
Array of Order Objects
Indicator of the payment method of the order:
CARD
QR
APPLE_PAY
YAPE_CODE
PAGO_PUSH
CARD
Authorization code of the purchase generated by the card issuer
S62316
Currency of the transaction.
PEN
USD
PEN
Txn amount. Integers with 2 decimals, consider decimal separator without thousands delimiter
10.00
Number of Installments that will affect the purchase.
06
Deferred number that will affect purchases.
0
Order number of the purchase transaction, sent in the security api (Token Session).
1687996765
Message of the transaction status (Authorized/Denied).
Autorizado
Transaction date (fechatxn saved in transaction table) Format yyyymmdd.
20221212
Transaction time (fechatxn saved in transaction table) Format hhmmss.
185330
Transaction identifier made by Izipay or Cybersource.
1011173920740022
Reference number generated by the acquirer. This data is important for the refund request.
1315646
Object with card data
Card brand
Allowed values
MC
: MasterCardVS
: VisaAE
: AmexDN
: Diners
VS
Masked card number used in the transaction
411111******1111
Identifier if the card was registered in the operation
true
Billing object (cardholder)
Cardholder names
Juan
Cardholder last names
Wick Quispe
Cardholder email
jwickq@izi.com
Cardholder phone
958745896
Cardholder billing address
Av. Jorge Chávez 275
City of the cardholder billing address
Lima
Name of the department or state of cardholder billing.
Lima
Country of the cardholder billing address - ISO code.
PE
Postal Code (CP) of the cardholder billing address.
15038
Type of cardholder identification document
DNI
CE
PASAPORTE
RUC
OTROS
DNI
Cardholder identification document number.
Length(min - max):DNI:= 8 characters
CE:>=9 characters <=12 characters
PASAPORTE:>=8 characters <=12 characters
RUC := 11 characters
OTROS:>=8 characters <=12 characters
21458796
Social reason or company name.
Commerce data object
Commerce code or submerchant (child code of the merchantFacilitator), generated by Izipay during affiliation.
4001834
Facilitator commerce code, generated by Izipay during affiliation.
""
Tokenization, Private and Brand object.
Unique identifier of the buyer in the commerce system.
MC240813110946H8D7HF
Token value that identifies the card of the cardholder.
""
Card alias.
""
Network token cryptogram. Single-use security value for authorization.
Q2F2dkNhdnZDYXZ2Q2F2dkNhdnY=
Masked value of the network token.
520473******1301
Value that uniquely identifies the token requester.
12345678901
Value indicating the identification and verification performed that represents the linkage of the payment token to the PAN and cardholder.
10
Identifier of the initial transaction, used for recurring payments (without cryptogram).
""
Masked value of the last 4 digits of the actual card
1234
Card brand
Allowed values
MC
: MasterCardVS
: VisaAE
: AmexDN
: Diners
VS
Card type
""
Authentication object.
Authentication result.
""
Array of custom objects that allows adding extra information to the payment process, to meet the specific needs of each commerce. Maximum 10 custom objects.
Name of the custom object, it should not be repeated.
field1
field2
field3
field4
field5
field6
field7
field8
field9
field10
field1
Value of the custom object.
""
It only allows values containing letters (including uppercase, lowercase, vowels with accents such as á, é, í, ó, ú, ñ and ü), numbers, spaces and the following special characters: spot (.), commas (,), hyphens (-), diagonals (/) and the symbol "&". It also supports accented letters from other European languages such as à, è or ö.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚ\s&.,\/\-\u00C0-\u017FüÜ0-9]+$/u
Original response message used for signature generation.
{"code":"00","message":"OK"…..}
It is the hash of the request payload expressed in a base64 value string.
QBY3s3RRMwHqFmF93lhRTTqrjcuolsVBCUnDFXniKY8=
Unique id for each transaction generated by the commerce, sent in the security api (Token Session) equivalent to the Correlation Id for the transaction flow.
172356538519500
Here is an example of a response
{
"headers": [
{"Accept": "application/json"},
{"Content-Type": "application/json; charset=utf-8"},
{"Host": "sandbox-api-pw.izipay.pe"},
{"Transfer-Encoding": "chunked"},
{"transactionId": "17370678303660"},
{"Signature": "8RjPs9ykC7ukUMcCiCvSaBdEUwraNQiauWWGlEouAqg="},
{"traceparent": "00-4ed7ff545f524695ca2cbe180adf78d0-6af61a35aab751b8-00"}
],
"body": {
"code": "00",
"message": "Operación exitosa",
"messageUser": "Operación exitosa",
"messageUserEng": "Successful",
"response": {
"payMethod": "CARD",
"order": [
{
"payMethodAuthorization": "CARD",
"codeAuth": "831000",
"currency": "PEN",
"amount": "149.00",
"installment": "",
"deferred": "",
"orderNumber": "1737067830",
"stateMessage": "Autorizado",
"dateTransaction": "20250116",
"timeTransaction": "174953",
"uniqueId": "1429386",
"referenceNumber": "6330605"
}
],
"card": {
"brand": "MC",
"pan": "511842******6017",
"save": "false"
},
"billing": {
"firstName": "Luis",
"lastName": "Quispe",
"email": "luisquispetaquire@gmail.com",
"phoneNumber": "989800341",
"street": "Av Sol 123",
"city": "Lima",
"state": "Lima",
"country": "PE",
"postalCode": "15000",
"documentType": "DNI",
"document": "10252022",
"companyName": ""
},
"merchant": {
"merchantCode": "4001061",
"facilitatorCode": ""
},
"token": {
"merchantBuyerId": "MC20250101",
"cardToken": "",
"alias": ""
},
"authentication": {
"result": ""
},
"customFields": [
{
"name": "field1",
"value": ""
},
{
"name": "field2",
"value": ""
},
{
"name": "field3",
"value": ""
},
{
"name": "field4",
"value": ""
},
{
"name": "field5",
"value": ""
},
{
"name": "field6",
"value": ""
},
{
"name": "field7",
"value": ""
},
{
"name": "field8",
"value": ""
},
{
"name": "field9",
"value": ""
},
{
"name": "field10",
"value": ""
}
]
},
"transactionId": "17370678303660",
"payloadHttp": "{\"code\":\"00\",\"message\":\"Operación exitosa\",\"messageUser\":\"Operación exitosa\",\"messageUserEng\":\"Successful\",\"response\":{\"payMethod\":\"CARD\",\"order\":[{\"payMethodAuthorization\":\"CARD\",\"codeAuth\":\"831000\",\"currency\":\"PEN\",\"amount\":\"149.00\",\"installment\":\"\",\"deferred\":\"\",\"orderNumber\":\"1737067830\",\"stateMessage\":\"Autorizado\",\"dateTransaction\":\"20250116\",\"timeTransaction\":\"174953\",\"uniqueId\":\"1429386\",\"referenceNumber\":\"6330605\"}],\"card\":{\"brand\":\"MC\",\"pan\":\"511842******6017\",\"save\":\"false\"},\"billing\":{\"firstName\":\"Luis\",\"lastName\":\"Quispe\",\"email\":\"luisquispetaquire@gmail.com\",\"phoneNumber\":\"989800341\",\"street\":\"Av Sol 123\",\"city\":\"Lima\",\"state\":\"Lima\",\"country\":\"PE\",\"postalCode\":\"15000\",\"documentType\":\"DNI\",\"document\":\"10252022\",\"companyName\":\"\"},\"merchant\":{\"merchantCode\":\"4001061\",\"facilitatorCode\":\"\"},\"token\":{\"merchantBuyerId\":\"MC20250101\",\"cardToken\":\"\",\"alias\":\"\"},\"authentication\":{\"result\":\"\"},\"customFields\":[{\"name\":\"field1\",\"value\":\"\"},{\"name\":\"field2\",\"value\":\"\"},{\"name\":\"field3\",\"value\":\"\"},{\"name\":\"field4\",\"value\":\"\"},{\"name\":\"field5\",\"value\":\"\"},{\"name\":\"field6\",\"value\":\"\"},{\"name\":\"field7\",\"value\":\"\"},{\"name\":\"field8\",\"value\":\"\"},{\"name\":\"field9\",\"value\":\"\"},{\"name\":\"field10\",\"value\":\"\"}]},\"transactionId\":\"17370678303660\"}",
"signature": "8RjPs9ykC7ukUMcCiCvSaBdEUwraNQiauWWGlEouAqg="
}
}
For more detailed information visit the Notifications
section.