post https://evaluation-api.azpay.services/v1/receiver#pagsegurocheckout
Through this endpoint is possible to create a PagSeguro Checkout
Important!
Keep the body params following the same sequence as you see above!
Example of API Response:
{
"transactionId": "5C38A6F4-C3AF-FA05-BF4D-5815D23BD2A4",
"operationId": 10,
"status": 0,
"message": "WAITING FOR PAYMENT",
"log": "",
"errorCode": "",
"order": {
"reference": "123456789",
"currency": "BRA",
"totalAmount": 10000,
"dateTime": "2019-02-18T10:00:31.000-03:00"
},
"processor": {
"flag": "MASTERCARD",
"message": "Cart\u00e3o de cr\u00e9dito: o comprador escolheu pagar a transa\u00e7\u00e3o com cart\u00e3o de cr\u00e9dito. ",
"numberOfPayments": "1",
"acquirer": "PAGSEGURO",
"paymentLink": "",
"amount": 10000,
"code": "1",
"tid": "40065F72-DF49-4483-A7DE-EC89EE002FF8",
"statusCode": "1",
"tokenCard": ""
}
}
{
"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.]]>"
}
}
}