Accept Pix payments in your BTCPay Server store and receive funds in DePix, a Liquid-based BRL stablecoin.
Community plugin. Not affiliated with BTCPay Server or DePix. Treat it as experimental for now. Feedback is welcome.
- Adds Liquid Network Stablecoin DePix as a payment method.
- Adds Pix as a payment method through DePix.
- Creates Pix deposit QR codes for compliant invoices and POS checkouts.
- Provides a Pix Transactions page to monitor deposits and statuses.
- Settles funds to your DePix (Liquid) wallet.
- BTCPay Server 2.x
- A DePix partner API key from depix.info
- Install the plugin in BTCPay: Plugins -> Manage Plugins -> DePix.
- Restart BTCPay when prompted.
- Create or connect your DePix wallet.
- Configure Pix in Wallets -> Pix -> Settings, or use server-wide configuration from Server Settings -> Pix.
- Register the webhook in the DePix Telegram bot using the command shown after saving settings.
- Make sure invoices and POS forms provide payer CPF/CNPJ as
endUserTaxNumber.
Full setup details are in Configuration.
Eulen requires every Pix deposit QR code to identify the payer. This plugin sends the payer CPF/CNPJ to /deposit as endUserTaxNumber.
{
"endUserTaxNumber": "01234567890"
}Formatted values such as 012.345.678-90 and 12.345.678/0001-95 are accepted. The plugin removes the mask and sends only digits to Eulen.
Pix will be unavailable for an invoice if endUserTaxNumber is missing, blank, or sent as a JSON number.
See Checkout Requirements for invoice, API, and POS behavior.
- Configuration: wallet setup, store/server settings, split payments, and webhook registration.
- Checkout Requirements: Eulen compliance,
endUserTaxNumber, invoices, API, and POS forms. - P2P Mode: selling DePix through the plugin-owned P2P POS.
- Spending DePix: Aqua/SamRock, hot wallet, Liquid+, and
elements-cli.
Where do I get the DePix API key?
Request one at https://www.depix.info/#partners.
Is the webhook mandatory?
No, but it is recommended so you receive real-time payment updates.
Pix does not appear as a payment method. What should I check?
Make sure DePix is configured either at store level or server level. For each invoice, make sure payer CPF/CNPJ is available as a string in endUserTaxNumber.
Open an issue with details of your problem or suggestion. Pull requests are welcome.
For anything related to the DePix plugin, join the Telegram group.
MIT.
