Cash-out

Send PIX from your balance to any key, protected against duplicate sending.

POST /api/v1/gateway/pix-payment debits the amount and fee from your balance and sends a PIX to the given key. The response is immediate (status: "processing"); the result arrives at callbackUrl.

Before the first payout, turn on API payouts under Developers in the dashboard. Unless WeetPay enables it, the destination must be the account holder's own CPF/CNPJ key. See Limits and rules.

Key types

typeKeykeydocument
CPF11 digitsthe same CPF as the key
CNPJ14 digitsthe same CNPJ as the key
EMAILe-mailkey holder's CPF/CNPJ
PHONEmobile with area code (e.g. 11999998888 or +5511999998888)key holder's CPF/CNPJ
EVPrandom key (UUID)key holder's CPF/CNPJ

Flow

  1. Generate and store an Idempotency-Key for the payment (Idempotency).
  2. Call Send PIX. On network errors or 5xx, retry with the same key.
  3. The payout stays PROCESSING (operations review, when applicable, and bank submission).
  4. callbackUrl receives status: "sucess" with the endToEnd, or status: "not paid" with the reason in message — in which case amount and fee return to the balance.

Payout status

processingStatus (lookup)Callback statusMeaning
PROCESSING—under review or sent to the bank
PAID_OUTsucesspaid
NOT_PAIDnot paidrejected or failed; refunded

On this page