API Reference
API Pix: authenticationPOSTGet a token
Billing · AuthenticationPOSTGet a token (Billing)
Billing · NotificationsGETGet a notification
Open Finance · Pix Automático

List consents

GET/v1/pagamentos-automaticos/adesao
Base URL: https://openfinance.efi.mimicr.dev · provider: https://openfinance-h.api.efipay.com.br

Lists the consents created in the period with a given status.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Query parameters

iniciostringrequired

Start date, YYYY-MM-DD.

fimstringrequired

End date, YYYY-MM-DD.

statusstringrequired

Status of the consents.

autorizadopendenterevogadofinalizadorejeitado
identificadorAdesaostring

One specific consent.

idPropriostring

Your own identifier.

documentostring

Payer's CPF or CNPJ.

quantidadeinteger

Items per page (up to 50).

paginainteger

Page.

Responses

200Consents.
adesoesobject[]
Show child attributes
identificadorAdesaostring

Consent identifier.

statusstring

pendente waits for the consent; autorizado; rejeitado; revogado; finalizado is past its expiration.

pendenteautorizadorejeitadorevogadofinalizado
dataCriacaostring

Creation date and time.

motivostring

Reason, when rejected or revoked.

favorecidoobject
Show child attributes
contaBancoobject
Show child attributes
nomestringrequired

Payee name.

Example: "Lucas Silva"
documentostring

Payee's CPF or CNPJ.

Example: "17558266300"
codigoBancostringrequired

ISPB of the payee's bank (8 digits). 09089356 is Efí.

Example: "09089356"
agenciastringrequired

Branch, without check digit.

Example: "0001"
contastringrequired

Account number, with check digit.

Example: "654984"
tipoContastringrequired

CACC checking, SLRY salary, SVGS savings, TRAN payment account.

CACCSLRYSVGSTRAN
assinaturaobject
Show child attributes
expiracaostring

Expiration.

descricaostring

Description.

idPropriostring

Your own identifier.

configuracaoobject
Show child attributes
automaticoobject
Show child attributes
valorFixostring

Fixed amount of each charge. Don't combine with valorMinimo/valorMaximo.

valorMinimostring

Minimum amount per charge.

valorMaximostring

Maximum amount per charge.

intervalostringrequired

Periodicity.

SEMANALMENSALTRIMESTRALSEMESTRALANUAL
dataIniciostring<date>required

Start, YYYY-MM-DD.

permiteRetentativaboolean

Whether rejected charges can be retried.

primeiroPagamentoobject

Payment scheduled as soon as the consent is authorized.

Show child attributes
datastring

First payment date.

valorstring

First payment amount.

infoPagadorstring

Message.

totalinteger

Total items found.

porPaginainteger

Items per page.

ultimostring

Path of the last page.

proximostring | null

Path of the next page, or null.

anteriorstring | null

Path of the previous page, or null.

atualstring

Path of the current page.

400parametro_ausente: "O parâmetro '…' está ausente".
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"
401Missing, invalid or expired token, or a token issued for another API (invalid_token).
errorstringrequired

Authentication error code.

invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scope
error_descriptionstringrequired

Error description.

Example: "Credenciais inválidas ou inativas"
403The token lacks the scope the route requires (insufficient_scope).
errorstringrequired

Authentication error code.

invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scope
error_descriptionstringrequired

Error description.

Example: "Credenciais inválidas ou inativas"
404recurso_nao_encontrado.
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"
422entidade_nao_processavel: the request can't be processed in the current state (e.g. enrollment not authorized, amount outside the limits, already canceled).
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"
500erro_aplicacao: internal server error.
nomestringrequired

Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).

Example: "valor_invalido"
mensagemstringrequired

Error description.

Example: "O valor do pagamento é inválido"