New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
    • Pix via dLocal
    • UPI via dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Tempus
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Advanced Routing


  • Advanced Routing

Dunning


  • Dunning
  • Articles and FAQ

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Payment Verification
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. dLocal
  4. Pix via dLocal
  1. Payments
  2. Payment Gateways and Configuration
  3. dLocal
  4. Pix via dLocal

Pix via dLocal

Pix via dLocal is currently in Private Beta. Contact Chargebee Support to enable it for your test and live sites.

Pix is a popular real-time payment method in Brazil. This integration allows you to accept Pix payments through the dLocal gateway in Chargebee.

Before you begin, ensure that dLocal is configured. See Configure dLocal in Chargebee.

Prerequisites

Before enabling Pix:

  • Ensure dLocal is configured in your Chargebee site.
  • Pix does not require additional configuration. You can enable it using a toggle.

Configure Pix via dLocal in your Chargebee site

Follow these steps to enable Pix via dLocal:

Information

Pix is available only after dLocal is configured successfully.

  1. Go to Settings > Configure Chargebee > Payment Gateways > dLocal.
  2. On the Configure dLocal page, turn on Pix.
    image
  3. Select Apply to save your changes.
    image

How Pix works

Pix is a real-time payment method that customers complete using their banking app.

  • During checkout, customers are shown a QR code or payment key.
  • Customers complete the payment using their bank app.
  • dLocal processes the payment asynchronously.
  • Chargebee updates the payment status after receiving webhook notifications.

Note

Pix payments are asynchronous. A payment remains in a pending state until Chargebee receives the final status from dLocal via webhooks.

Payment features

The following table describes supported features and behavior for Pix via dLocal:

FeatureDescriptionSupportedDefault stateConfiguration / behavior
Integration sync modeDefines how payment requests are processed and how statuses are updated.Yes (asynchronous only)AsynchronousdLocal processes Pix payments asynchronously. Chargebee receives the final status through webhooks.
Capture settingsDefines when funds are captured after authorization.YesAuto captureNo configuration required. Auto capture is the only supported option.
Verification modesDefines how payment methods are validated before payment.NoEnabledValidation occurs in the background. Payments are still initiated.
Regulatory requirements supportNANANANA
Statement descriptorBusiness name shown in the customer’s bank statement.YesDisabledConfigure under Settings > Configure Chargebee > Transaction Descriptor.
Chargeback managementHandles disputes and chargebacks.NoDisabledNot supported.
Fraud managementIdentifies high-risk transactions.NoNANot supported.
Transaction initiation typeIndicates whether the transaction is customer-initiated or merchant-initiated.NoNANot supported.
Error intelligenceProvides standardized failure categorization.YesNANo configuration required.
Gateway transaction detailsProvides raw gateway responses.YesEnabledAvailable under Error details on the transaction page.
Addition of payment methods in Chargebee dashboardAdd payment methods collected outside Chargebee.YesEnabledUse the Create payment source using permanent token API.

Supported token formats

Use the following token formats when building a custom checkout or migrating from another provider:

Token typeDescriptionSupportedToken fieldToken format
Chargebee Payment IntentRecommended for custom checkout using Chargebee JS.Yespayment_intent[id]payment_intent_id
Chargebee tokenLegacy format. Not recommended for new integrations.Notoken_idNA
Gateway permanent tokenUsed for recurring payments or migrations.Yespayment_method[reference_id]mandate_id
Gateway temporary tokenShort-lived token convertible to permanent token.NoNANA

Testing

Testing in sandbox

dLocal provides the following scenarios:

DescriptiondLocalAmount at ChargebeeChargebee
100:approvedSuccess1000Transaction succeeds
100:rejectedFailure2000Transaction fails
302Insufficient balance3000Transaction fails

Reference: Pix Testing Environment.

Warning

If you use amounts not listed above, dLocal does not receive a scenario description. These transactions remain in a pending state.

Information

Ensure webhook handling is configured correctly. Payment status updates depend on webhook notifications from dLocal.

Testing in production

Before going live:

  • Ensure Pix is configured in both dLocal and Chargebee.
  • Perform end-to-end testing using a real Pix-enabled banking app.

Note

Pix payments require real bank interaction for validation in production.

Reconciliation

To reconcile transactions between Chargebee and dLocal:

  1. Locate the id_at_gateway value in the Chargebee transaction.
  2. Use this value as the Reference ID in dLocal.

This mapping ensures accurate reconciliation between systems.

Was this article helpful?