Idempotency-Key para evitar saques duplicadospostbackUrl é opcional mas recomendado para receber notificaçõespending - Aguardando aprovação manualapproved - Aprovado automaticamente para processamentofailed - Falha na criação do saquerefused - Recusadocancelled - Canceladoprocessing - Em processamentocurl --location --request POST 'https://api.fullpix.com.br/functions/v1/withdrawals/cashout' \
--header 'Idempotency-Key;' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pixkeytype": "CPF",
"pixkey": "99999999999",
"requestedamount": 254,
"description": "Saque via API",
"isPix": true,
"postbackUrl": "https://webhook.site/unique-id"
}'{
"event": "withdrawal.created",
"timestamp": "2025-07-10T17:40:27.885Z",
"withdrawal": {
"id": "756d4eec-9a22-44b0-a514-a27c366c5433",
"company_id": "5e1ce642-b9f1-433c-a350-5f9cd3d16bf6",
"requested_amount": 2.54,
"currency": "BRL",
"status": "pending",
"created_at": "2025-07-10T14:40:26.270543",
"updated_at": "2025-07-10T14:40:26.270543",
"pix": {
"key_type": "CPF",
"key_value": "99999999999"
},
"fee": 0,
"net_amount": 2.54
},
"metadata": {
"source": "withdrawals_service",
"version": "1.0.0"
}
}