Pix2DePix API
  1. Docs
Pix2DePix API
  • 📜 API Overview
  • Docs
    • 🔑 Authentication
    • 💻 Examples
    • 🪝 Webhook
    • 🛡️ Security & Limits
      • ✅ Best Practices
      • 🧱 Firewall
      • 🪲 Bug Bounty
      • 🚦 API Limits
    • 🧩 Advanced (optional)
      • 🎲 Nonce
      • 🔀 Sync / Async call
  • API Endpoints
    • Ping
      GET
    • Deposit (PIX ➔ DePix)
      POST
    • Deposit Status
      GET
  1. Docs

🔑 Authentication

API Token#

Authentication for API access is performed using the JWT standard. To obtain a valid and properly signed JWT token, the partner must access the #Bot section of their private Telegram channel with Eulen.
Note that there is no API to obtain the authentication token. This token is obtained exclusively through our Telegram Bot.
Telegram Bot @DePix_stable_bot
If this option is not available to you, request a token through our communication channels.
The syntax to generate a new token is as follows:
/apitoken <label> <days> [all|deposit|withdraw]
Required params:
label - A completely arbitrary text of your choice, with no spaces, such as server001 or apitoken2024. This label will be used to manage your token later. In the future, you can invalidate your token using this label, for example, if it is no longer in use or has been compromised.
days - The number of days the token will remain valid, with 365 (one year) being the maximum.
scope - One of the following options: all, deposit or withdraw.

Example#

/apitoken token001 7 all
Create a token with full access that is valid for 7 days, named token001.
Screenshot_20241217_085628.png

How to use the JWT Token#

To authenticate with our API, use the HTTP header in the following format:
Authorization: Bearer <token>
Replacing <token> with the JWT token generated by our Telegram bot.
Your credentials carry many privileges, so keep them secure! Never share your credential keys in publicly accessible areas such as GitHub, client-side code or similar locations.
Modified at 2025-05-09 06:10:21
Previous
📜 API Overview
Next
💻 Examples
Built with