Pix2DePix API
  1. API Endpoints
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. API Endpoints

Deposit (PIX ➔ DePix)

Testing
POST
deposit
The system generates a dynamic QR code designed for deposits in Reais (BRL) through the PIX banking system. The QR code is provided in two formats: text format, which allows for easy copy-and-paste into banking applications, and PNG format, displaying a scannable QR code image for convenience.
When a deposit is successfully made using the generated QR code, our system automatically processes the transaction, converting the deposited amount into DePix. The converted DePix can then be sent to a default partner address or to a custom address specified as a parameter during the QR code generation.

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{
    "amountInCents": 100,
    "depixAddress": "ex1qhuq5u7udzwskhaz45fy80kdaxjytqd99ju5yfn",
    "endUserFullName": "Jasmine Lubowitz",
    "endUserTaxNumber": "22078522238"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://depix.eulen.app/api/deposit' \
--header 'X-Nonce;' \
--header 'X-Async: auto' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amountInCents": 100,
    "depixAddress": "ex1qhuq5u7udzwskhaz45fy80kdaxjytqd99ju5yfn",
    "endUserFullName": "Jasmine Lubowitz",
    "endUserTaxNumber": "22078522238"
}'

Responses

🟢200Success
application/json
Headers

Body

Examples
{
    "response": {
        "qrCopyPaste": "0002XPTO1226880014br.gov.bcb.pix2566qrcode-h.fitbank.com.br/QR/cob/44CFA7690F47CXPTO2BR5925PLEBANK SOLUCOES EM TECNO6007BAXPTO00062070503***6304345A",
        "qrImageUrl": "https://response.eulen.app/api-response/nonce-qr.png",
        "id": "ac34bd0a6f1d426fba001dca27b9d137"
    },
    "async": false
}
🟠400Bad request
🟠401Unauthorized
🟢202OK Accepted
🟠403Forbidden
🔴500Server Error
🔴503Service Unavailable
Modified at 2024-12-31 14:59:45
Previous
Ping
Next
Deposit Status
Built with