Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt

Use this file to discover all available pages before exploring further.

Error format
{
  "error": {
    "code": "<error_code>",
    "message": "<error_message>"
  }
}
Field definitions
  • code – A stable, unique identifier for the error. Useful for programmatic handling and support requests.
  • message – Detailed guidance to help you resolve the error.
This structure ensures you always get actionable feedback when something doesn’t go as expected.

Bank Transfer errors


The following errors can occur when interacting with the Bank Transfer endpoints. Each error follows our standard structure, making it easier to debug and respond to issues programmatically. Refer to the tables below for a list of possible error codes, what they mean, and how to resolve them.

400

codetitlemessage
BTF-0001Invalid InputThe request contains invalid fields. Check the field details below.

401

codetitlemessage
BTF-0401UnauthorizedAuthentication failed. The token is missing, invalid, or expired.

403

codetitlemessage
BTF-0403License InvalidOrganization is not licensed. Contact support to activate your license.
BTF-0405ForbiddenInsufficient permissions to perform this action.

404

codetitlemessage
BTF-0200Transfer Not FoundTransfer not found
BTF-0201Initiation Not FoundInitiation not found or belongs to different organization
BTF-0500Account Not FoundSender account does not exist in CRM

409

codetitlemessage
BTF-0012Duplicate TransferDuplicate transfer detected
BTF-0203Already ProcessedThis initiation has already been processed

410

codetitlemessage
BTF-0202Initiation ExpiredInitiation expired after 24 hours. Create a new initiation.

422

codetitlemessage
BTF-0010Operating Hours ViolationTransfers can only be initiated Monday-Friday between 06:30 and 17:00 Brasília time
BTF-0011Limit ExceededTransfer amount exceeds daily limit
BTF-0204Cannot CancelTransfer cannot be cancelled in its current status. Only CREATED or PENDING transfers can be cancelled.
BTF-0501CRM Invalid ResponseThe CRM account record is missing a required field (organizationId). Contact your platform team to fix the account data in the CRM.
Errors returned by the JD SPB integration are not wrapped in BTF-* codes. The vendor code is passed through verbatim on the error.code field of the HTTP error envelope (for example, ACE95 for request timeouts, AAC90 for invalid signature rejections, ALN01 for control-number-not-found responses). Refer to the JD SPB vendor documentation for the full list and the corresponding retry policy for each code.

500

codetitlemessage
BTF-9000Internal ErrorAn unexpected error occurred. Contact support if it persists.

502

codetitlemessage
BTF-3001Fees Invalid ResponseThe fee service returned an invalid or unparseable response. Contact your platform team.

503

codetitlemessage
BTF-0502CRM Service UnavailableUnable to validate account. The CRM service is temporarily unavailable. Try again later.
BTF-2000Midaz UnavailableUnable to process transfer. The Midaz ledger service is temporarily unavailable. Try again later.
BTF-3000Fee Service UnavailableUnable to calculate fee. The fee service is temporarily unavailable. Try again later.