Created
October 16, 2018 13:41
-
-
Save elisei/1ebd83335f4eec6faac38b83ac6a234c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"date": "", | |
"env": "", | |
"event": "PAYMENT.AUTHORIZED", | |
"resource": { | |
"payment": { | |
"_links": { | |
"order": { | |
"href": "https://api.moip.com.br/v2/orders/ORD-VCO0NJCKLSN1", | |
"title": "ORD-KYSUGPF8YWFF" | |
}, | |
"self": { | |
"href": "https://api.moip.com.br/v2/payments/PAY-344KZ2IKWJ9A" | |
} | |
}, | |
"acquirerDetails": { | |
"authorizationNumber": "N/A", | |
"taxDocument": { | |
"number": "16501555000157", | |
"type": "CNPJ" | |
} | |
}, | |
"amount": { | |
"currency": "BRL", | |
"fees": 0, | |
"gross": 15380, | |
"liquid": 15380, | |
"refunds": 0, | |
"total": 15380 | |
}, | |
"cancellationDetails": { | |
"cancelledBy": "ACQUIRER", | |
"code": "2", | |
"description": "Falha na comunicação com o Banco Emissor" | |
}, | |
"createdAt": "2018-09-19T10:41:07.498-03", | |
"delayCapture": false, | |
"device": { | |
"geolocation": {}, | |
"ip": "181.222.220.95", | |
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36" | |
}, | |
"events": [ | |
{ | |
"createdAt": "2018-09-19T10:41:09.062-03", | |
"type": "PAYMENT.CANCELLED" | |
}, | |
{ | |
"createdAt": "2018-09-19T10:41:07.576-03", | |
"type": "PAYMENT.CREATED" | |
} | |
], | |
"fees": [ | |
{ | |
"amount": 0, | |
"type": "TRANSACTION" | |
} | |
], | |
"fundingInstrument": { | |
"creditCard": { | |
"brand": "VISA", | |
"first6": "474747", | |
"holder": { | |
"birthDate": "1985-10-10", | |
"birthdate": "1985-10-10", | |
"fullname": "end oficial" | |
}, | |
"id": "CRC-5NQWBHBJRDWZ", | |
"last4": "4747", | |
"store": true | |
}, | |
"method": "CREDIT_CARD" | |
}, | |
"id": "PAY-344KZ2IKWJ9A", | |
"installmentCount": 1, | |
"receivers": [ | |
{ | |
"amount": { | |
"currency": "BRL", | |
"fees": 0, | |
"refunds": 0, | |
"total": 15380 | |
}, | |
"feePayor": true, | |
"moipAccount": { | |
"fullname": "Cristais Aquarius", | |
"id": "MPA-E4E75C670B69", | |
"login": "contato@cristaisaquarius.com.br" | |
}, | |
"type": "PRIMARY" | |
} | |
], | |
"statementDescriptor": "Cristais Aqua", | |
"status": "CANCELLED", | |
"updatedAt": "2018-09-19T10:41:09.062-03" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment