Retrieve a withdrawal
View the amounts, destination and status of a withdrawal by its identifier.
View a withdrawal using the identifier returned in the list or in the reference of a statement entry. The response shows the amounts, available destination and current status for the authenticated company and environment.
This request does not change the withdrawal or speed up completion. See Withdrawals to track the result.
Path Params
Withdrawal ID with the wd_ prefix.
Up to 100 characters
Responses
Response Body
Withdrawal details at the time of the query. Retrieving them does not initiate, cancel or repeat a transfer.
Public identifier of the withdrawal, with the wd_ prefix. It may also appear as reference_id in the statement.
Amount requested for withdrawal, in Brazilian real cents, including the fee. A pending, failed, or canceled withdrawal does not confirm the transfer of this amount.
Withdrawal fee, in Brazilian real cents. The fee is charged when the withdrawal is completed; failure or cancellation does not confirm that the fee was charged.
Amount intended for the destination account, in Brazilian real cents: amount_cents minus fee_amount_cents. Check status to find out whether the transfer was completed.
Current withdrawal status. PENDING: awaiting processing; PROCESSING: being processed; COMPLETED: completed; FAILED: failed; CANCELED: canceled; UNKNOWN: no status classification available. Only COMPLETED confirms completion.
Known reason for the failure, or null when the withdrawal is not FAILED. An unavailable reason must not be interpreted as permission to retry the withdrawal.
Recorded reason for the failure. See the codes and handling guidance in Withdrawal failures.
Explanation of the failure in English. The text helps with diagnosis; the integration must use code.
Destination account recorded for a bank withdrawal, or null when not applicable. The account number is partially displayed.
Destination bank code recorded for the withdrawal.
Branch recorded for the withdrawal, including the check digit when provided, or null.
Partially masked destination account number, including the check digit when provided, or null.
Pix destination recorded for the withdrawal, or null when no data is available. The key is partially displayed.
Type of key used for the withdrawal: CNPJ, EVP (random), PHONE (phone number), or EMAIL.
Partially masked Pix key.
Name of the destination account holder recorded for the withdrawal.
ISPB of the destination institution.
Request time, in Unix UTC seconds.
Completion time, in Unix UTC seconds, or null when it has not been completed.
Failure time, in Unix UTC seconds, or null when no failure has occurred.
Cancellation time, in Unix UTC seconds, or null when no cancellation has occurred.
Response Body
A parameter is invalid. Check error.details to identify the field and accepted format.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Response Body
The withdrawal was not found in the authenticated company and environment.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
For common errors, see HTTP response codes.