Skip to main content

API Responses

Our API responses use standard HTTP status codes.

In case of application error responses, the response body will contain the code and message fields, respectively specifying and detailing the error that occurred.

Below are listed the types of HTTP Status Codes, API Error Codes, and Data Validation Errors.

HTTP Status Codes

HTTP Status CodeDescription
100Continue, server is ready to receive request.
101Your TCP connection is about to be switched to a different protocol.
103Please perform initialization and/or preload resources for the server.
200Your request was successfully processed.
201Request created successfully.
202Your request was accepted.
203Unauthorized information.
204Your request was successful.
205Please reset document display.
206Your request was successfully processed, only part of the resource sent by the client was delivered.
300More than one representation for the requested resource was found.
301This and all future requests must be directed to the URL.
302Your request was redirected.
303Your request was redirected.
304Your request has not been modified.
307Requested resource was temporarily redirected.
308Requested resource has been permanently redirected.
400Your request could not be processed. Please check the data and try again.
401Access is denied.
402Payment failed.
403Access denied to requested resource. User may not have sufficient permission.
404Requested resource was not found.
405Unsupported method.
406Request not accepted.
407Proxy authentication required.
408Request timed out.
409Request could not be processed.
410Resource is no longer available on the origin server.
411The URI used in the request does not contain defined Content-Length.
412Access to the specified resource was denied.
413The request is larger than it can handle.
414The requested resource is larger than the supported size.
415This resource type is not supported.
416The URI used in the request does not contain the Content-Range with a satisfactory string.
417The request sent in the request failed.
422Request could not be processed.
425The server could not process this request.
426Upgrade Required. It is necessary to update the protocol to a new version.
428The origin server requires the request to be conditional.
429The app has been restricted and should not attempt to retry the request before a certain time interval.
431Processing was not performed due to the size of the header, please reduce the size and repeat the request.
451Error accessing illegal protocol.
500We are unable to process your request. Please try again in a moment.
501The requested feature has not been implemented.
502An invalid response was obtained.
503The service is temporarily unavailable for maintenance or is overloaded.
504The server did not receive a response in a timely manner to complete the request.
505The version used in the request is not supported.
506Internal configuration error. Endpoint not suitable for this process.
507The maximum storage quota has been reached.
508An infinite loop was detected while processing the request.
510The request received with the extension declaration is not supported by the server.
511You must authenticate to the network to proceed.
Request success to endpoint 'Create new EVP PIX key'
{
"success": true,
"data": {
"id": "126f7d3b-9462-4c6d-afdd-65f4b83d9efc",
"key": null,
"type": "EVP",
"state": "CONFIRMED",
"created_at": "2023-06-05T01:43:33.662Z"
},
"error": null
}

API Error Codes

CodeDescription
BANK_ACCOUNT_NOT_FOUNDBank not found.
BANK_ACCOUNT_CANNOT_WORK_FOR_THIS_OPERATIONBank account not allowed for this type of operation.
CLIENT_TEMPORARILY_BLOCKEDCustomer temporarily blocked, please try again in a few minutes.
UNAVAILABLE_WITHDRAWALWithdrawal unavailable, please try again in a few minutes.
UNABLE_TO_DECODEUnable to decode the PIX key.
WITHDRAWAL_LIMIT_PER_CPF_PER_HOUR_REACHEDWithdrawal limit per CPF/hour reached.
PIX_KEY_DOES_NOT_BELONGS_TO_USERCustomer's document is different from the key's document.
FORBIDDEN_FINANCIAL_INSTITUTIONThe institution is blocked for this operation.
UNAVAILABILITY_AT_THE_BANKUnavailability at the bank.
CLIENT_IS_BLOCKLISTEDThis document is blocked from performing operations.
CLIENT_HAS_KYC_RESTRICTIONThis document is restricted from performing operations.
BANK_ACCOUNT_UNAUTHORIZEDCustomer's account is not authorized for withdrawal.
BANK_ACCOUNT_DOES_NOT_EXISTBank not found.
BANK_ACCOUNT_CAN_NOT_WORK_FOR_THIS_OPERATIONBank account not allowed for this type of operation.
INVALID_EXPIRATION_DATEThe expiration date of the QR Code is earlier than its creation date.
LESS_THAN_ONE_ACCOUNT_PROVIDEDAt least one bank account must be provided.
MIN_ACCOUNTS_REQUIREDThe minimum required number of bank accounts must be provided.
MAX_ACCOUNTS_REQUIREDThe number of provided accounts exceeds the maximum allowed.
QRCODE_GENERATION_FAILEDQR Code generation failed.
UNABLE_TO_FIND_ORIGINAL_TRANSACTIONUnable to find the original transaction to perform the reversal.
INVALID_TRANSACTIONThis type of transaction cannot be reversed.
TRANSACTION_IS_NOT_PAIDThis transaction has not been paid yet.
P2P_NOT_COMPLETEDThe original transaction's P2P was not successfully executed.
INCORRECT_VALUEIt is not possible to reverse a value greater than what is available.
Example containing the code: VALIDATION
{
"success": false,
"data": null,
"error": "USER",
"message": "It is not possible to reverse a value greater than what is available.",
"code": "INCORRECT_VALUE"
}