API Reference
Create a manual withdrawal
/transactions/withdraw/manualhttps://okto.mimicr.dev · provider: https://demo-pix.oktopay.euSends a Pix to a bank account (no key). bankAccount.accountType is required and branchCode is required unless the account is payment (2022). The result arrives at withdrawUrl; in Mimicr it settles on its own 15 seconds after creation, like withdrawals by key.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonReceiver name.
"Ana Ribeiro"Receiver CPF.
"604.184.437-34"Your identifier, required, URL-safe and unique (1001).
"saque-2001"Amount in cents, greater than zero. Must fit in the available balance (2050).
2500Free tags returned in responses and notifications (up to 5).
Receiver address.
Receiver ZIP code.
Receiver city.
A bank account. Invalid data answers 2022.
Show child attributes
ISPB (PSP code) of the bank, up to 8 digits.
"18236120"Branch, up to 4 digits. Required in manual withdrawals unless accountType is payment.
"1"Account type. Required in manual withdrawals.
checkingsalarysavingspayment"checking"Account number with check digit, up to 20 digits.
"12345678"Responses
200Withdrawal created.
Your identifier.
"saque-2001"Always created: the result arrives at withdrawUrl.
createdCreation time.
"2026-10-21T19:08:59.710000+00:00"400Validation or business error. Okto also answers "not found" errors with 400 and an error list.
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"401Invalid access token (code 2000).
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"403Missing Authorization header (code 2000, "Full authentication is required to access this resource").
Errors of the request.
Show child attributes
Okto error code (see the error catalog).
2001Fixed message of the code.
"The tax id is invalid."What exactly went wrong.
"taxId must be a valid CPF"