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

Create an enrollment

POST/v1/pagamentos-biometria/vinculos
Base URL: https://openfinance.efi.mimicr.dev · provider: https://openfinance-h.api.efipay.com.br

Journey without redirection (JSR): enrolls the payer's account for biometric payments. The enrollment starts pendente and the payer authorizes once at redirectURI. Once authorized, the next Pix (Pix with biometrics) need no new redirect.

Authorization

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

Headers

x-idempotency-keystringrequired

Idempotency key, 36 to 72 characters (a UUID works). The same key with the same body returns the first response; with another body, 409 conflito_chave_idempotencia. Missing: 400 chave_idempotencia_obrigatorio; wrong length: 431 chave_idempotencia_invalida.

Example: "6f1c1d2e-9a3b-4c5d-8e7f-0a1b2c3d4e5f"

Body

application/json
pagadorobjectrequired
Show child attributes
idParticipantestringrequired

Payer's bank: the identificador from List participants.

Example: "9f4cd202-8f2b-11ec-b909-0242ac120002"
cpfstringrequired

Payer's CPF (11 digits). For a company account, the CPF of the account holder who authorizes.

Example: "94271564656"
cnpjstring

CNPJ, when the debited account belongs to a company (14 digits).

Responses

200Enrollment created.
identificadorVinculostring

Enrollment identifier.

redirectURIstring

Page where the payer authorizes the enrollment.

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"