API
Checking Raims account

Request a withdrawal

Request a Pix withdrawal to the company key registered in the Dashboard.

POSThttps://api.raims.com/v1/withdrawals

Production only

This request requires authorized access in Production. Send it from your integration server; the documentation console accepts only Sandbox keys.

Request a Pix withdrawal by providing the amount you want to withdraw. The destination is the company Pix key registered in the Dashboard. The fee is deducted from the requested amount.

To require the default destination you checked, send expected_destination_id. The field does not register or select another destination. See Request a Pix withdrawal.

Keep the returned identifier and track the same withdrawal while it is pending or processing. Acceptance does not confirm that the money reached the destination account.

See Withdrawals for the conditions of use and how to track the result.

Headers

Unique key chosen by your system to identify this request. When retrying, send the same key and parameters. Without this header, the request is processed normally. See the idempotency guide for retention and handling pending or uncertain responses.

1 to 255 characters

Body Params

Applying an example replaces the body fields.

Total amount to withdraw, in Brazilian real cents, including the fee. Check the withdrawal conditions for the balance, fee, and limits before submitting a request.

From 200 to 1000000000000

ID of the company's own destination that must remain selected as default. Copy the id returned by the destinations query. If the destination changes or becomes invalid, the withdrawal is rejected. Omitting this field or sending null uses the current default destination.

Up to 100 characters

Responses

For common errors, see HTTP response codes.