How It Works
Banks
A bank is a named institution owned by a specific character. It holds capital and acts as a container for all the accounts opened within it.
Bank Accounts
An account belongs to a character and is linked to one bank. Each character can hold at most one account per bank. Accounts track a balance that can be queried at any time.
Creating a Bank
Only users with theSERVICE_ADMINISTRATOR permission can create banks.
Endpoint: POST /v1/banks
Request body
201 Created with the bank object:
Bank creation is restricted to
SERVICE_ADMINISTRATOR accounts. Regular users cannot create banks — contact the CA Colombia administration team if you need a bank provisioned.Creating a Bank Account
Any authenticated user can open an account for their character at an existing bank. Each character may hold one account per bank — attempting to open a second account at the same bank returns a409 error.
Endpoint: POST /v1/banks/{bankId}/accounts
Request body
201 Created with the new account object:
Checking a Balance
Retrieve the current balance for a specific account. Endpoint:GET /v1/banks/{bankId}/accounts/{accountId}/balance
Updating an Account
Two update methods are available:
Use
PATCH when you only want to modify specific properties (such as balance). Use PUT when you need to replace the full account record.
Viewing a Character’s Linked Accounts
Retrieve all bank accounts linked to a specific character. Endpoint:GET /v1/users/{userId}/characters/{characterId}/bankAccounts
accountId, bankId, and current balance.
Deleting Resources
Delete a bankDELETE /v1/banks/{bankId} — removes the bank and all associated accounts. Requires SERVICE_ADMINISTRATOR permission.
Delete a bank account
DELETE /v1/banks/{bankId}/accounts/{accountId} — removes a single account. The owning character loses access to the balance held in that account.