API Reference
Create an enrollment
/v1/pagamentos-biometria/vinculoshttps://openfinance.efi.mimicr.dev · provider: https://openfinance-h.api.efipay.com.brJourney 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
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.
"6f1c1d2e-9a3b-4c5d-8e7f-0a1b2c3d4e5f"Body
application/jsonShow child attributes
Payer's bank: the identificador from List participants.
"9f4cd202-8f2b-11ec-b909-0242ac120002"Payer's CPF (11 digits). For a company account, the CPF of the account holder who authorizes.
"94271564656"CNPJ, when the debited account belongs to a company (14 digits).
Responses
200Enrollment created.
Enrollment identifier.
Page where the payer authorizes the enrollment.
400parametro_ausente: "O parâmetro '…' está ausente".
Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).
"valor_invalido"Error description.
"O valor do pagamento é inválido"401Missing, invalid or expired token, or a token issued for another API (invalid_token).
Authentication error code.
invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scopeError description.
"Credenciais inválidas ou inativas"403The token lacks the scope the route requires (insufficient_scope).
Authentication error code.
invalid_clientunsupported_grant_typeinvalid_tokeninsufficient_scopeError description.
"Credenciais inválidas ou inativas"404recurso_nao_encontrado.
Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).
"valor_invalido"Error description.
"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).
Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).
"valor_invalido"Error description.
"O valor do pagamento é inválido"500erro_aplicacao: internal server error.
Error code, in snake_case (e.g. valor_invalido, chave_idempotencia_obrigatorio).
"valor_invalido"Error description.
"O valor do pagamento é inválido"