Skip to content

Commit

Permalink
versão 1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb-thiago committed Nov 17, 2021
1 parent a42c17e commit 700e379
Show file tree
Hide file tree
Showing 17 changed files with 537 additions and 19 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,26 @@

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

## [1.6.1] - 2021-10-26
## [1.7.1] - 2021-11-16
### Adicionado
- Novo tipo de contador em estatísticas para transações rejeitadas: REJECTED
- Política para controle de limites de acesso no endpoint de estatísticas: STATISTICS_READ

### Alterado
- Correções pontuais de nomenclatura

### Removido
- Eliminação do motivo ENTRY_INACTIVITY para operações de deleção de chaves

## [1.7.0] - 2021-10-29
### Adicionado
- Novo fluxo de reporte de infração
- Consulta de estatísticas por CPF/CNPJ

### Alterado
- Novo formato do PayerID

## [1.6.1] - 2021-10-13
### Adicionado
- Campo refundAmount no XML de exemplo de listagem de devoluções
- Campo InfractionReportId em devoluções
Expand Down
3 changes: 3 additions & 0 deletions openapi/examples/entries/GetEntryResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<Counter type="CONFIRMED_FRAUDS" by="KEY" d3="0" d30="5" m6="30"/>
<Counter type="CONFIRMED_FRAUDS" by="OWNER" d3="0" d30="5" m6="30"/>
<Counter type="CONFIRMED_FRAUDS" by="ACCOUNT" d3="0" d30="5" m6="30"/>
<Counter type="REJECTED" by="KEY" d3="0" d30="5" m6="30"/>
<Counter type="REJECTED" by="OWNER" d3="0" d30="5" m6="30"/>
<Counter type="REJECTED" by="ACCOUNT" d3="0" d30="5" m6="30"/>
</Counters>
</Statistics>
</GetEntryResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<InfractionReport>
<TransactionId>12345679XPTO1234</TransactionId>
<TransactionType>INTERNAL</TransactionType>
<TransactionResult>REJECTED_PAYEE</TransactionResult>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<Key>+5561988880000</Key>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
</InfractionReport>
</CreateInfractionReportRequest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<InfractionReport>
<TransactionId>12345679XPTO1234</TransactionId>
<TransactionType>INTERNAL</TransactionType>
<TransactionResult>REJECTED_PAYER</TransactionResult>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999010</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
</InfractionReport>
</CreateInfractionReportRequest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<InfractionReport>
<TransactionId>12345679XPTO1234</TransactionId>
<TransactionType>INTERNAL</TransactionType>
<TransactionResult>SETTLED</TransactionResult>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<Key>+5561988880000</Key>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
</InfractionReport>
</CreateInfractionReportRequest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<TransactionType>SPI</TransactionType>
<TransactionResult>REJECTED_PAYEE</TransactionResult>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<Key>+5561988880000</Key>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
</InfractionReport>
</CreateInfractionReportRequest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<TransactionType>SPI</TransactionType>
<TransactionResult>REJECTED_PAYER</TransactionResult>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999010</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
</InfractionReport>
</CreateInfractionReportRequest>
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
</InfractionReport>
</CreateInfractionReportRequest>
</CreateInfractionReportRequest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-11-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>12345679XPTO1234</TransactionId>
<TransactionType>INTERNAL</TransactionType>
<TransactionResult>REJECTED_PAYEE</TransactionResult>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<Key>+5561988880000</Key>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<CreationTime>2021-11-10T10:00:00Z</CreationTime>
<LastModified>2021-11-10T10:00:00Z</LastModified>
</InfractionReport>
</CreateInfractionReportResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-11-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>12345679XPTO1234</TransactionId>
<TransactionType>INTERNAL</TransactionType>
<TransactionResult>REJECTED_PAYER</TransactionResult>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999010</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999010</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<CreationTime>2021-11-10T10:00:00Z</CreationTime>
<LastModified>2021-11-10T10:00:00Z</LastModified>
</InfractionReport>
</CreateInfractionReportResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-11-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>12345679XPTO1234</TransactionId>
<TransactionType>INTERNAL</TransactionType>
<TransactionResult>SETTLED</TransactionResult>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<Key>+5561988880000</Key>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<CreationTime>2021-11-10T10:00:00Z</CreationTime>
<LastModified>2021-11-10T10:00:00Z</LastModified>
</InfractionReport>
</CreateInfractionReportResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<TransactionType>SPI</TransactionType>
<TransactionResult>REJECTED_PAYEE</TransactionResult>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<Key>+5561988880000</Key>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999003</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<CreationTime>2021-11-17T10:00:00Z</CreationTime>
<LastModified>2021-11-17T10:00:00Z</LastModified>
</InfractionReport>
</CreateInfractionReportResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<TransactionType>SPI</TransactionType>
<TransactionResult>REJECTED_PAYER</TransactionResult>
<InfractionData>
<TaxIdNumber>11122233300</TaxIdNumber>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999010</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<TransactionDate>2021-10-10T10:00:00Z</TransactionDate>
<InfractingAccountData>
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
</InfractingAccountData>
</InfractionData>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Tentativa de transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>OPEN</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999010</CreditedParticipant>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<CreationTime>2021-11-17T10:00:00Z</CreationTime>
<LastModified>2021-11-17T10:00:00Z</LastModified>
</InfractionReport>
</CreateInfractionReportResponse>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<Status>OPEN</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
Expand Down
3 changes: 2 additions & 1 deletion openapi/examples/statistics/GetOwnerStatisticsResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<Counter type="SETTLEMENTS" d3="0" d30="20" m6="60"/>
<Counter type="REPORTED_FRAUDS" d3="0" d30="10" m6="40"/>
<Counter type="CONFIRMED_FRAUDS" d3="0" d30="5" m6="30"/>
<Counter type="REJECTED" d3="0" d30="5" m6="30"/>
</Counters>
</OwnerStatistics>
</GetOwnerStatisticsResponse>
</GetOwnerStatisticsResponse>
Loading

0 comments on commit 700e379

Please sign in to comment.