Skip to content

Commit

Permalink
versão 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb-thiago committed Jun 11, 2021
1 parent 4f3bdba commit 11dd31c
Show file tree
Hide file tree
Showing 11 changed files with 728 additions and 51 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Mudanças relevantes na API do DICT serão documentadas aqui.

## [1.3.0] - 2021-06-11
### Adicionado
- Fluxo de devolução

## [1.2.0] - 2021-04-01
### Adicionado
- Alteração de nome de cliente na Entry
Expand Down
6 changes: 6 additions & 0 deletions openapi/examples/refunds/CancelRefundRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelRefundRequest>
<Signature></Signature>
<RefundId>91d65e98-97c0-4b0f-b577-73625da1f9fc</RefundId>
<Participant>12345678</Participant>
</CancelRefundRequest>
18 changes: 18 additions & 0 deletions openapi/examples/refunds/CancelRefundResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelRefundResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Refund>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<RefundReason>FRAUD</RefundReason>
<RefundAmount>200.00</RefundAmount>
<RefundDetails>Transação feita através de QR Code falso em boleto</RefundDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CANCELLED</Status>
<ContestedParticipant>99999010</ContestedParticipant>
<RequestingParticipant>99999011</RequestingParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</Refund>
</CancelRefundResponse>
11 changes: 11 additions & 0 deletions openapi/examples/refunds/CloseRefundRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CloseRefundRequest>
<Signature></Signature>
<RefundId>91d65e98-97c0-4b0f-b577-73625da1f9fc</RefundId>
<Participant>12345678</Participant>
<RefundAnalysisResult>TOTALLY_ACCEPTED</RefundAnalysisResult>
<RefundAnalysisDetails>
Valor totalmente extornado ao demandante.
</RefundAnalysisDetails>
<RefundTransactionId>D9999901012341234123412345678900</RefundTransactionId>
</CloseRefundRequest>
22 changes: 22 additions & 0 deletions openapi/examples/refunds/CloseRefundResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CloseRefundResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Refund>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<RefundReason>FRAUD</RefundReason>
<RefundAmount>200.00</RefundAmount>
<RefundDetails>Transação feita através de QR Code falso em boleto</RefundDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<ContestedParticipant>99999010</ContestedParticipant>
<RequestingParticipant>99999011</RequestingParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
<AnalysisResult>TOTALLY_ACCEPTED</AnalysisResult>
<AnalysisDetails>
Valor totalmente extornado ao demandante.
</AnalysisDetails>
</Refund>
</CloseRefundResponse>
11 changes: 11 additions & 0 deletions openapi/examples/refunds/CreateRefundRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateRefundRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<Refund>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<RefundReason>FRAUD</RefundReason>
<RefundAmount>100.00</RefundAmount>
<RefundDetails>Houve fraude confirmada na transação.</RefundDetails>
</Refund>
</CreateRefundRequest>
18 changes: 18 additions & 0 deletions openapi/examples/refunds/CreateRefundResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateRefundResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Refund>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<RefundReason>FRAUD</RefundReason>
<RefundAmount>200.00</RefundAmount>
<RefundDetails>Transação feita através de QR Code falso em boleto</RefundDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<ContestedParticipant>99999010</ContestedParticipant>
<RequestingParticipant>99999011</RequestingParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</Refund>
</CreateRefundResponse>
18 changes: 18 additions & 0 deletions openapi/examples/refunds/GetRefundResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<GetRefundResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Refund>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<RefundReason>FRAUD</RefundReason>
<RefundAmount>200.00</RefundAmount>
<RefundDetails>Transação feita através de QR Code falso em boleto</RefundDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<ContestedParticipant>99999010</ContestedParticipant>
<RequestingParticipant>99999011</RequestingParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</Refund>
</GetRefundResponse>
24 changes: 24 additions & 0 deletions openapi/examples/refunds/ListRefundsResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ListRefundsResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<HasMoreElements>true</HasMoreElements>
<Refunds>
<Refund>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<RefundReason>FRAUD</RefundReason>
<RefundDetails>Transação feita através de QR Code falso em boleto</RefundDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<ContestedParticipant>99999010</ContestedParticipant>
<RequestingParticipant>99999011</RequestingParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
<AnalysisResult>TOTALLY_ACCEPTED</AnalysisResult>
<AnalysisDetails>
Valor totalemente extornado.
</AnalysisDetails>
</Refund>
</Refunds>
</ListRefundsResponse>
Loading

0 comments on commit 11dd31c

Please sign in to comment.