Skip to content

Commit

Permalink
Merge pull request #4541 from Sensedia/aggr-automatic-payments
Browse files Browse the repository at this point in the history
fix(Automatic Payments): EOF465 - PSV255 - Correções
  • Loading branch information
andretrindade authored Oct 8, 2024
2 parents bdfedc3 + 9b77db3 commit fd84b1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dictionary/automaticPaymentsGetPixRecurringPayments_v2.csv
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Motivo da rejeição do pagamento. Informações complementares sobre o motivo d
- LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO
- LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO: O valor da transação ultrapassar o limite de valor por transação
- CONSENTIMENTO_REVOGADO
- LIMITE_TENTATIVAS_EXCEDIDO

[Restrição] Esse motivo deverá ser enviado quando o campo `/data/status` for igual a RJCT (REJECTED).
";Texto;;Obrigatório;;"SALDO_INSUFICIENTE
Expand All @@ -90,7 +91,8 @@ LIMITE_PERIODO_QUANTIDADE_EXCEDIDO
TITULARIDADE_INCONSISTENTE
LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO
LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO
CONSENTIMENTO_REVOGADO";1;1;" Esse motivo deverá ser enviado quando o campo `/data/status` for igual a RJCT (REJECTED).
CONSENTIMENTO_REVOGADO
LIMITE_TENTATIVAS_EXCEDIDO";1;1;" Esse motivo deverá ser enviado quando o campo `/data/status` for igual a RJCT (REJECTED).
";Não permitido;string;SALDO_INSUFICIENTE;
/data/rejectionReason/detail;detail;"Detalhe sobre o código identificador do motivo de rejeição.

Expand All @@ -112,6 +114,7 @@ CONSENTIMENTO_REVOGADO";1;1;" Esse motivo deverá ser enviado quando o campo `/d
- LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO: O valor da transação excede o limite global do consentimento.
- LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO: O valor da transação ultrapassar o limite de valor por transação.
- CONSENTIMENTO_REVOGADO: O pagamento estava associado a um consentimento que foi revogado.
- LIMITE_TENTATIVAS_EXCEDIDO: O máximo de tentativas de liquidação permitidas pelo arranjo foi atingido
";Texto;2048;Obrigatório;[\w\W\s]*;;1;1;"";Não permitido;string;;
/data/payment;payment;Objeto contendo as informações do pagamento.;Objeto;;Obrigatório;;;1;1;"";Não permitido;object;;
/data/payment/amount;amount;"Valor da transação com 2 casas decimais.
Expand Down
5 changes: 4 additions & 1 deletion swagger-apis/automatic-payments/2.0.0-beta.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ components:
- ERRO_IDEMPOTENCIA: Erro idempotência.
- LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO: Limite total excedido
- LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO: Limite de transação excedido.
- LIMITE_TENTATIVAS_EXCEDIDO: O limite de tentativas para liquidação do pagamento permitidas pelo arranjo foi excedido.
- LIMITE_TENTATIVAS_EXCEDIDO: Limite de tentativas excedido.
detail:
type: string
maxLength: 2048
Expand Down Expand Up @@ -1737,6 +1737,7 @@ components:
- LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO
- LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO
- CONSENTIMENTO_REVOGADO
- LIMITE_TENTATIVAS_EXCEDIDO
example: SALDO_INSUFICIENTE
description: |
Código identificador do motivo de rejeição.
Expand All @@ -1759,6 +1760,7 @@ components:
- LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO
- LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO: O valor da transação ultrapassar o limite de valor por transação
- CONSENTIMENTO_REVOGADO
- LIMITE_TENTATIVAS_EXCEDIDO
[Restrição] Esse motivo deverá ser enviado quando o campo `/data/status` for igual a RJCT (REJECTED).
EnumRejectionReasonCode:
Expand Down Expand Up @@ -2000,6 +2002,7 @@ components:
- LIMITE_VALOR_TOTAL_CONSENTIMENTO_EXCEDIDO: O valor da transação excede o limite global do consentimento.
- LIMITE_VALOR_TRANSACAO_CONSENTIMENTO_EXCEDIDO: O valor da transação ultrapassar o limite de valor por transação.
- CONSENTIMENTO_REVOGADO: O pagamento estava associado a um consentimento que foi revogado.
- LIMITE_TENTATIVAS_EXCEDIDO: O máximo de tentativas de liquidação permitidas pelo arranjo foi atingido
RejectionReason:
type: object
description: |
Expand Down

0 comments on commit fd84b1d

Please sign in to comment.