get https://evaluation.checkout.azpay.com.br/api/v1/transactions/status/
Through this endpoint is possible to retrieve a transaction
Example of Checkout API Response:
{
"result": {
"order_id": "5c49e975d0a6652063f6b6c5",
"payment_processor_fee": 2,
"merchant_id": "187",
"merchant_key": "3fdd29809c337de07020524bab1dae9e",
"checkout_id": "5c4868b1b7ed422debaf3083",
"checkout_title": "My Checkout",
"credit_card": { // Only for credit card transactions
"bin": "431231",
"last4": "1234",
"brand": "mastercard",
"expiration_date": "10/20"
},
"customer": {
"email": "[email protected]",
"cpf": "11111111111",
"first_name": "John",
"last_name": "Doe",
"phone": "(11)1234-5678",
"address": {
"country_name": "Brasil",
"country_iso_31661_alpha_3": "BRA",
"postal_code": "08673000",
"city": "Suzano",
"state": "SP",
"street": "Avenida Armando Salles de Oliveira",
"number": 123,
"complement": ""
}
},
"operator_code": "1",
"operator_name": "CIELO - BUY PAGE LOJA",
"azpay_api_tid": "A8699BEA-2CB7-9BB1-A70B-F7FCB36E80BA",
"azpay_api_status": 8,
"azpay_api_response": null,
"created_at": "2019-01-24T16:37:47.246Z",
"updated_at": "2019-01-24T16:37:48.491Z"
},
"status": "ok",
"message": ""
}
{
"status": "error",
"error": {
"type": "ErrorType",
"message": "Some warning/error message"
}
}