Pix2DePix API
  1. API Endpoints
Pix2DePix API
  • 📜 API Overview
  • Docs
    • 🔑 Authentication
    • 💻 Examples
    • 🪝 Webhook
    • ✅ Possible Statuses
      • 📥💰 Deposit Statuses
      • 📤💸 Withdraw Statuses
    • 🛡️ Security & Limits
      • ✅ Best Practices
      • 🪲 Bug Bounty
      • 🧱 Firewall
      • 🚦 API Limits
    • 🧩 Advanced (optional)
      • 🎲 Nonce
      • 🔀 Sync / Async call
  • API Endpoints
    • Ping
      GET
    • Deposit (PIX ➔ DePix)
      POST
    • Deposit Status
      GET
    • Deposits
      GET
    • User Info
      GET
    • Pix2FA
      POST
    • Withdraw
      POST
    • Withdraw Status
      GET
  • Schemas
    • AsyncResponse
    • AllPossibleObjResponses
    • StandardResponse
    • PingObjOrError
    • JWTClaims
    • ObjResponse
    • ErrorObj
    • PingObj
    • ErrorResponse
    • DepositRequest
    • DepositObjOrError
    • DepositObj
    • PingResponse
    • DepositResponse
    • DepositStatusObj
    • DepositStatusResponse
    • DepositWebhookBody
    • DepositsResponse
    • DepositStatus
    • UserInfoResponse
    • Pix2FAResponse
    • WithdrawStatusResponse
    • WithdrawStatusObj
    • WithdrawResponse
    • WithdrawObj
    • WithdrawStatus
    • WithdrawWebhookBody
  1. API Endpoints

Withdraw

Testing
POST
withdraw

How to use this API correctly#

Use EXACTLY ONE of the following parameters:
Only depositAmountInCents if you want to specify the amount you want to send in DePix.
OR only payoutAmountInCents if you want to specify the amount you want to receive in Pix (Reais).
By sending one of the two parameters, the other will be automatically calculated according to our fees and will be returned in response.
It is not possible to use both parameters in the same request, and you cannot leave both empty.
Never ever deposit after the expiration date.
YOU WILL LOSE YOUR FUNDS!

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/jsonRequired

Example
{
    "pixKey": "example@example.com",
    "depositAmountInCents": 124647,
    "payoutAmountInCents": 123400
}

Request Code 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/withdraw' \
--header 'X-Nonce;' \
--header 'X-Async: auto' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pixKey": "example@example.com",
    "depositAmountInCents": 124647,
    "payoutAmountInCents": 123400
}'

Responses

🟢200Success
application/json
Body

Example
{
    "withdrawalId": "string",
    "depositAddress": "string",
    "depositAmountInCents": 0,
    "payoutAmountInCents": 0
}
Modified at 2026-02-20 23:12:57
Previous
Pix2FA
Next
Withdraw Status
Built with