Skip to main content
POST
/
pix
/
v1
/
payment
/
withdraw
Withdraw a PIX Payment
curl --request POST \
  --url https://api.pagou.ai/pix/v1/payment/withdraw \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '
{
  "type": "PIX",
  "value": 1,
  "details": {
    "key": "<string>",
    "keyType": "SOCIAL_NUMBER",
    "name": "<string>",
    "document": "<string>"
  },
  "externalId": "<string>"
}
'
{
  "withdrawId": "wd_aa8f7af952d0424babecf85a3aa0af8a",
  "status": "WAITING_WITHDRAW",
  "value": 3500,
  "externalId": "saque-001",
  "createdAt": "2026-02-07T10:11:12.000Z"
}

Authorizations

apiKey
string
header
required

Body

application/json
type
enum<string>
required
Available options:
PIX
value
number
required
Required range: x > 0
details
object
required
externalId
string
required
Minimum string length: 1

Response

Success

withdrawId
string
required
status
string
required
value
integer
required
externalId
string
required
createdAt
string
required