Skip to main content
The CA Colombia banking system lets you model in-game financial institutions, each owned by a character and capable of holding multiple accounts. Banks are created by administrators and tied to an owning character. Any approved character can then open an account at a bank, giving them a balance that participates in the in-game economy. This guide walks through every operation from creating a bank to deleting an account.

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 the SERVICE_ADMINISTRATOR permission can create banks. Endpoint: POST /v1/banks Request body
A successful request returns 201 Created with the bank object:
Error responses
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 a 409 error. Endpoint: POST /v1/banks/{bankId}/accounts Request body
A successful request returns 201 Created with the new account object:
Error responses

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
The response is an array of account objects, each including the accountId, bankId, and current balance.

Deleting Resources

Deletion is permanent. Ensure there are no dependencies (such as active account holders) before deleting a bank.
Delete a bank DELETE /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.