Skip to main content

Pix on File is an implementation of Pix in Brazil that enables payments through Open Finance without redirecting the customer to their bank app for each transaction. It is the EBANX layer on top of Pix Jornada Sem Redirecionamento, the Brazilian Central Bank (Bacen) product. Pix on File is available on both the Cross-border and Local tenants.

The integration uses the Open Finance Payment Initiation specifications with FIDO2/WebAuthn authentication, allowing customers to pre-authorize payments with biometrics or passkeys directly within the merchant's application. Unlike the Pix Automático QR Code journey, customers do not scan QR codes or get redirected to their banking app. Instead, they authenticate with FIDO2 credentials registered during a one-time enrollment, providing an in-app payment experience.

Features​

FeatureDescription
One-Tap PaymentsIdeal for services with high customer returning rates, such as marketplaces, ride hailing, etc.
High-Security TransactionsPerfect for merchants requiring strong customer authentication. FIDO2/WebAuthn provides cryptographic proof of customer presence and consent.
Mobile-First ExperiencesOptimized for mobile applications where biometric authentication (fingerprint, face recognition) provides a frictionless payment experience.
Risk Signals CollectionDevice and behavioral data is collected during enrollment and payment to enhance fraud prevention.
Payment AuthorizationEach payment requires an authentication assertion, ensuring customer presence for every transaction.

The Flow​

Pix on File works by establishing an authorization between merchant and customer through an enrollment, and referencing it in every payment. Each payment is then confirmed with the FIDO2 credential registered on the customer's device.

Enrollment flow​

The enrollment establishes the authorization between merchant and customer. Unlike the QR Code journey, Pix on File requires the customer to complete FIDO2 credential registration after bank authorization.

  1. The merchant initiates the enrollment, and the customer selects a bank from the Bank List.
  2. The customer authorizes the enrollment in their banking app.
  3. The customer returns to the merchant app and completes the FIDO2 credential registration.
  4. The enrollment becomes active and ready for payments.

Payment flow​

Once an active enrollment is in place, payment requests can be initiated. Each payment requires FIDO2 authentication to ensure customer presence and consent.

  1. The merchant initiates a payment referencing the enrollment.
  2. EBANX returns a FIDO2 challenge.
  3. The customer authenticates with their registered FIDO2 credential.
  4. The payment is authorized and the funds are transferred.

Integration options​

OptionDescription
Direct APIThe merchant application collects Risk Signals and runs the FIDO2/WebAuthn ceremony. See Device Linking and Payment.
Hosted FlowEBANX collects Risk Signals and runs device linking and customer authentication on its own page, then notifies the merchant by webhook.

By following this basic integration guide, you will understand how you can create enrollments and accept Pix on File payments in your checkout using EBANX Direct API.

Still need help?

Help Image

We hope this article was helpful. If you still have questions, you can explore the following options: