|
|
@@ -409,3 +409,55 @@ Payment confirmed for idempotencyId: 11dfcb3f-da19-4918-88c2-d03198bf8c9b
|
|
|
"updateDate": "2025-11-04T19:44:02.342Z"
|
|
|
}
|
|
|
]
|
|
|
+
|
|
|
+## refund
|
|
|
+
|
|
|
+DEBUG callApi: POST <https://gerador-arquitetura-baas.homolog.api.genial.systems/v1/pix/return>
|
|
|
+DEBUG body: {"value":"0.5","returnReasonCode":"MD06","eventId":"019a5065-d044-6b87-0c5d-63fc3e50254e"}
|
|
|
+DEBUG status: 201
|
|
|
+DEBUG raw: {"data":{"returnId":"019a506c-6ba6-bea5-db7b-0d187e6fa32a","creationDateTime":"2025-11-04T19:51:14.6848121","originalInstantPaymentId":"019a5065-d044-6b87-0c5d-63fc3e50254e","returnedAmount":0.5,"endToEndId":"D45246410202511041951iP1ltQfU4Ee","customerDebitMadeByMip":true,"instantPayment":null,"id":"690a5932d3490aaedce9bd16","createDate":"2025-11-04T19:51:14Z","updateDate":"2025-11-04T19:51:14.572Z"},"error":null}
|
|
|
+{
|
|
|
+ data: {
|
|
|
+ returnId: '019a506c-6ba6-bea5-db7b-0d187e6fa32a',
|
|
|
+ creationDateTime: '2025-11-04T19:51:14.6848121',
|
|
|
+ originalInstantPaymentId: '019a5065-d044-6b87-0c5d-63fc3e50254e',
|
|
|
+ returnedAmount: 0.5,
|
|
|
+ endToEndId: 'D45246410202511041951iP1ltQfU4Ee',
|
|
|
+ customerDebitMadeByMip: true,
|
|
|
+ instantPayment: null,
|
|
|
+ id: '690a5932d3490aaedce9bd16',
|
|
|
+ createDate: '2025-11-04T19:51:14Z',
|
|
|
+ updateDate: '2025-11-04T19:51:14.572Z'
|
|
|
+ },
|
|
|
+ error: null
|
|
|
+}
|
|
|
+
|
|
|
+## status refund
|
|
|
+[
|
|
|
+ {
|
|
|
+ "returnId": "019a506c-6ba6-bea5-db7b-0d187e6fa32a",
|
|
|
+ "creationDateTime": "2025-11-04T22:51:14.684Z",
|
|
|
+ "originalInstantPaymentId": "019a5065-d044-6b87-0c5d-63fc3e50254e",
|
|
|
+ "returnedAmount": 0.5,
|
|
|
+ "endToEndId": "D45246410202511041951iP1ltQfU4Ee",
|
|
|
+ "customerDebitMadeByMip": true,
|
|
|
+ "instantPayment": {
|
|
|
+ "eventId": "019a506c-6ba6-bea5-db7b-0d187e6fa32a",
|
|
|
+ "endToEndId": "D45246410202511041951iP1ltQfU4Ee",
|
|
|
+ "status": {
|
|
|
+ "code": 3,
|
|
|
+ "description": "Success"
|
|
|
+ },
|
|
|
+ "mipTransactionType": "INTRA_PSP",
|
|
|
+ "originalSystemTransactionId": null,
|
|
|
+ "eventType": {
|
|
|
+ "code": 12,
|
|
|
+ "description": "Return sender"
|
|
|
+ },
|
|
|
+ "rejection": null
|
|
|
+ },
|
|
|
+ "id": "690a5932d3490aaedce9bd16",
|
|
|
+ "createDate": "2025-11-04T19:51:14Z",
|
|
|
+ "updateDate": "2025-11-04T19:51:16.76Z"
|
|
|
+ }
|
|
|
+]
|