post https://evaluation-api.azpay.services/v1/receiver#transactionReport
Through this endpoint is possible to receive a transaction report
Important!
Keep the body params following the same sequence as you see above!
Example of API Response:
{
"transactionId": "710A5D3A-238B-A1A8-06F0-34A20B044177",
"operationId": 1,
"status": 3,
"message": "AUTHORIZED",
"log": "",
"errorCode": "",
"order": {
"reference": "123456789",
"currency": "986",
"totalAmount": 10000,
"dateTime": "2019-02-18T13:39:25.557-03:00"
},
"processor": {
"flag": "mastercard",
"amount": "10000",
"numberOfPayments": "1",
"acquirer": "CIELO",
"acquirerId": "1",
"urlAuthentication": "",
"code": "4",
"message": "Transa\u00e7\u00e3o autorizada",
"lr": "00",
"arp": "123456",
"nsu": "330244",
"tid": "1006993069000DAA984A",
"pan": "07TIgQCiIMJ9uDby3dyD7cp8cD8xLd8XuNQ2CqXb5N4=",
"eci": "0",
"statusCode": "4",
"avsResponseCode": "",
"tokenCard": "0de3b2ca40b4c628f4bccd554c0dfa6621d6b77139c6e7e20246fe4bc4f7140d"
}
}
{
"transactionId": null,
"status": {
"code": 409,
"message": "ERROR - XML"
},
"result": {
"error": {
"code": 101,
"action": "XML",
"message": "XML ERROR",
"details": "<![CDATA[Element 'merchantKey': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '10'.\n]]>",
"moreInfo": "<![CDATA[Please check fields format and special character.]]>"
}
}
}
Different Payload examples.
{
"transaction-request": {
"version": "1.0.0",
"verification": {
"merchantId": "1",
"merchantKey": "d41d8cd98f00b204e9800998ecf8427e"
},
"report": { "reference": "123456789" }
}
}
{
"transaction-request": {
"version": "1.0.0",
"verification": {
"merchantId": "1",
"merchantKey": "d41d8cd98f00b204e9800998ecf8427e"
},
"report": { "transactionId": "710A5D3A-238B-A1A8-06F0-34A20B044177" }
}
}