AppMint Banking is a bank run entirely through the API: deposit accounts, a double-entry ledger, payments, cards, disputes, tellers and cash, lending, monitoring and regulatory reporting. It is its own vertical with its own banking_* records and its own banking setting.
This is not BusinessMade's bank linking. BusinessMade connects a business's own bank accounts through Plaid and reconciles them against its books, using the bank_* records under /business-made/bank — see Bank linking. The two never share records or code.
The bank's staff work in the Banking staff app, which calls these routes; its screens are documented in Banking staff app.
The three tiers
| Tier | Routes | Who calls it |
|---|---|---|
| Admin | /banking/* | The bank operator: a signed-in staff person, or an org API key |
| Monitoring | /banking/monitoring/* | Risk and compliance staff |
| Client | /client/banking/* | The bank's customers, each seeing only their own records |
Every request carries the orgid header, as everywhere in AppEngine. Money is whole cents and rates are basis points throughout: 1250 is $12.50. A route that takes an amount refuses anything else with Send amount in cents, as a whole number (1250 = $12.50).
Auth labels on these pages:
staff— a person signed in to the business, or an org API key whose scopes cover the call. The site's app token and customers are refused. Afterstaffcomes the part of the bank the caller's role must open (see Staff access), e.g.staff · payments.client— the signed-in customer and nobody else. Customers sign in through the ordinary customer routes (/profile/customer/*). A staff or app session gets401Sign in to your bank account. Another customer's record answers404, and the bank's side of a record (monitoring's review, holds and files behind a payment, staff notes) is never in the answer.
Errors are a JSON body with a message written for the person reading it: 400 unless another status fits, such as 404 … not found. or 409 for a conflict. Some add a code. A posting that may already have reached the ledger answers 503 with code: POSTING_RECOVERY_REQUIRED and the transaction: This bank posting needs recovery. Check the existing transaction with the bank before sending a replacement. A payment answers PAYMENT_RECOVERY_REQUIRED and a loan posting LOAN_EFFECT_RECOVERY_REQUIRED the same way. Never send a replacement: read the existing transaction, or retry with the same idempotency key.
The pages
Staff access
Every staff route names the part of the bank it belongs to — a module path such as /banking/payments. A route's own module replaces its controller's; some routes accept any of several (a hold can be released from Accounts, Deposit operations, the teller line or the Customer 360).
Who may open a module:
- Owner, ConfigAdmin and the root roles open everything.
- Anyone else needs a role — their own, or one carried by a group they belong to — whose saved menu (
permissions.menuInclude) names the module path, a path above it (/banking), orall. - A person none of whose roles has a saved menu is let in, with one exception: KYC, Monitoring, Cash reporting and Sanctions always need the grant. SAR confidentiality is law (31 CFR 1020.320(e)), so these modules, their counts, their home clocks and their search hits never reach someone whose role does not name them.
- API keys are not judged by module: the key's own scopes decide.
A refusal is a 403:
{ "message": "Your role does not include this part of the bank. Ask an admin to add it to your role.", "code": "BANKING_AREA_FORBIDDEN", "area": "/banking/payments" }The decision is cached for up to 15 seconds per person and dropped when any user, group or role in the org is saved.
Conflicts on the compliance desks. Inside KYC, Monitoring and Sanctions, a reviewer is also kept away from records about themselves or anyone linked to them, whatever their role: their own customer records (same email), the accounts those customers hold or are named on, and the other people on those accounts. Such records are left out of lists, and opening one by id answers 403 with code: BANKING_CONFLICT: You can't open this record: it concerns you or someone linked to you. Another reviewer must work it. See Monitoring, compliance and reporting.
The modules are customers, accounts, teller, vault, loans, collections, payments, cards, disputes, deposit-ops, kyc, monitoring, cash-reporting, sanctions, ledger, products, reports, regulatory, crm, complaints, documents, workspace, esign, dashboards, approvals, users, roles, workflow, automations, audit, jobs, settings and forms, each at /banking/<module>.
The bank's roles
/banking/setup/rolesSTAFF/banking/setup/rolesSTAFFGET returns the role catalogue: for each role its name, title, modules, the menuInclude paths they become, readOnly, and exists (a role record of that name is already in the org). POST creates the missing ones as ordinary role records — content read, create, update and their module menu (the Auditor gets read and view only) — and answers { created, skipped }. Roles that already exist by name are left as they are.
| Role | Opens |
|---|---|
Teller | teller, customers, documents, approvals, workspace |
HeadTeller | vault, teller, reports, customers, approvals, workspace |
BranchManager | customers, accounts, teller, vault, loans, reports, complaints, documents, approvals, workspace |
PersonalBanker | customers, accounts, loans, documents, crm, esign, approvals, workspace |
CallCenter | customers, accounts, disputes, cards, complaints, approvals, workspace |
LoanOfficer | loans, customers, collections, documents, esign, approvals, workspace |
Underwriter | loans, customers, reports, approvals, workspace |
LoanProcessor | loans, documents, esign, approvals, workspace |
LoanServicer | loans, customers, documents, reports, approvals, workspace |
Collector | collections, loans, customers, approvals, workspace |
DepositOps | deposit-ops, accounts, customers, documents, reports, approvals, workspace |
PaymentsOps | payments, customers, approvals, workspace |
CardOps | cards, disputes, customers, approvals, workspace |
DisputeAnalyst | disputes, customers, cards, approvals, workspace |
KYCAnalyst | kyc, sanctions, customers, approvals, workspace |
AMLAnalyst | monitoring, cash-reporting, sanctions, customers, approvals, workspace |
BSAOfficer | monitoring, cash-reporting, sanctions, kyc, customers, complaints, reports, regulatory, approvals, workspace |
ComplianceOfficer | complaints, reports, documents, audit, products, regulatory, approvals, workspace |
Controller | ledger, reports, products, approvals, workspace |
Auditor | every module except settings, users and roles — read only |
Setting up the bank
/banking/configSTAFF/banking/configSTAFF/banking/setupSTAFF/banking/overviewSTAFFBanking Config is the banking bucket on the org's settings. GET /banking/config returns it with defaults filled in. POST /banking/config saves only the fields sent: top-level fields are replaced, and each section (ach, wire, cash, regcc, lending, collections, callReport, escheat, customerVerification) is merged one level down, so saving one figure keeps the rest. Each approval rule is merged over its own default.
| Field | Default | What it is |
|---|---|---|
bankName | — | The name customers see |
sponsorBank | — | The bank that holds the deposits |
routingNumber | — | Checked as a real 9-digit routing number |
accountNumberPrefix | — | Start of new account numbers |
timezone | America/New_York | The bank's day: business date, cutoffs and end of day |
ach | cutoffs 10:30, 14:30, 17:30; incomingHoldDays 0 | originatorId and originatorName (the ACH company from the sponsor bank), cutoffs, hold days on incoming ACH |
wire.cutoff | 17:00 | |
checkHoldDays | 2 | |
dormantAfterDays | 365 | |
disputeDecideDays, disputeResolveDays | 10, 45 | Reg E clocks |
approvals | see Approvals | Maker-checker rule per action |
cash, regcc, lending, collections | the SDK's BANKING_*_DEFAULTS | Cash limits and CTR figures, Reg CC, lending and collections figures — see the pages that use them |
callReport.form | null | FFIEC 031, FFIEC 041 or FFIEC 051 |
escheat.rules | [] | Reviewed unclaimed-property rules per jurisdiction |
customerVerification.money | off | off or authenticator: whether customers confirm money movement with an authenticator code |
autopay | null | The reviewed loan autopay authorization policy |
Saving refuses, with the reason in words: a routing number that fails the check digit (… is not a valid routing number. Check the 9 digits the sponsor bank gave you.), a time zone that is not a real zone name, a call report form outside the three, an unknown approval action, approver roles that are not a list of names, an over that is not whole cents. Escheat rules and the autopay policy must each be attested reviewed: true by a signed-in person, who is recorded as reviewedBy with reviewedAt. Changing timezone moves the end-of-day jobs to the new zone.
GET /banking/setup makes the bank's own books on its first call and answers { ready, gaps }: what is still missing before accounts can open — the bank name, the sponsor bank, the routing number, the ACH company ID and name, and at least one active account product.
GET /banking/overview is the bank at a glance: customer accounts by status (pending, open, frozen, dormant, closed), deposits (posted, held), what is waiting (pendingPayments, inReview, achFilesToSend, cardsToMake, openDisputes) and the same setupGaps.
Two scheduled jobs run for every org that banks: end of day (lapsed holds, the day's interest, statement-day fees, interest and statements, dormancy, maturing certificates) in the bank's time zone, and the ACH cutoff job every 15 minutes, which cuts the ACH file once a configured cutoff has passed. A re-run never repeats an effect: interest accrues once per day, fees and interest payments carry a key per period, and a statement exists once per period.
Staff home, search and Customer 360
/banking/homeSTAFF/banking/launcher/:moduleSTAFF/banking/search?q=STAFF/banking/customers/:id/360STAFFhome gives the business date and time zone, the end-of-day state, whether the ledger balances (ledgerBalanced, with a ledgerNote when some days could not be counted), the next ACH cutoff, files sent today, and the regulatory clocks for the modules this person may open: Reg E claims due within 2 business days, SARs due within 7 days, CTRs unfiled for 10 days or more, adverse action notices due, 314(a) requests due within 3 days, OFAC reports due within 3 business days, and the clocks other modules add. Each clock has count and dueSoon. A part that cannot be read is null and named in unavailable — never shown as 0.
launcher/:module is one tile's live badge, { badge, tone, kpis? } with tone one of neutral, warn, danger, ok. An unknown module is 404; one the caller can't open is the 403 above.
search needs at least 2 characters and returns up to 10 each of customers, accounts, cards and transactions. Every typed word must appear somewhere in a customer's name, email, username or company; 4 or more digits also match phone numbers and account numbers (the last digits, or anywhere for 8 or more); exactly 4 digits match a card's last four; a reference, ACH trace number or wire IMAD finds a transaction. Account numbers come back masked (••••1234). Unless the caller may open Monitoring, a transaction monitoring holds reads as pending and its review is left out.
Customer 360 takes a customer's id or email and returns customer (name, contact, individual or business, customer since), flags, kyc, relationships (co-holders on each account), accounts, loans, applications, cards, recentTransactions, pendingPayments, disputes (each with its Reg E clock), pendingApprovals and totals. Money in different currencies is never added together: totals carries one sum per currency, USD first. What is shown depends on the caller's modules:
- KYC risk level, next review date and PEP status only with KYC or Monitoring.
- A sanctions-hits flag only with Sanctions.
- An
amlblock (open alerts, cases, filed SARs) only with Monitoring. - Pending approvals of a compliance module the caller can't open are left out.
Approvals
Protected actions are maker-checker: one person asks, a second person approves, and only then does the bank act.
/banking/approvalsSTAFF/banking/approvals/:idSTAFF/banking/approvals/:id/cancelSTAFFHow a request runs
A route that does a protected action answers in one of two ways:
{ "status": "done", "result": { } }
{ "status": "pending", "approvalId": "…", "approvers": ["…"] }done means no approval was needed and the action ran. pending means a banking_approval record now keeps the action with everything it needs (params), and a task on the banking-approval workflow sits in the approvers' trays. Nothing changes until it is approved. Approvers decide in the platform Approvals tray; the decision runs the action and keeps its outcome on the record (status done with result, or failed with error), and the maker is notified.
Whether an action waits is set per action in Banking Config approvals:
| Field | Meaning |
|---|---|
required | Turns the check on |
roles | Who may approve (the maker never can) |
over | Cents: amounts at or under it run at once |
levels | Further levels after the first, each { roles, over?, name? }; at most three levels in all |
A level with no over always applies; one with an amount applies only above it. The levels' stages on the workflow are Waiting on approver, Second approval and Third approval. When nobody but the maker holds the first level's roles, it falls back to the org's Owners and ConfigAdmins (not for customer_authenticator or loan_autopay).
Some actions decide for themselves that they don't need a second person: lowering a card limit or switching a channel, lifting a freeze (as opposed to reactivating a dormant account). These run at once.
The actions and their defaults
| Action | What it is | Default approvers | Runs at once at or under |
|---|---|---|---|
adjustment | Credit or debit a customer account by hand | DepositOps, BranchManager, Controller, Owner | |
fee_waiver | Refund a posted fee | BranchManager, DepositOps, Owner | $25.00 |
holder_change | Add, change or remove an account holder | BranchManager, DepositOps, Owner | |
wire_release | Release a pending outgoing wire or instant payment | PaymentsOps, BranchManager, Owner | |
limit_change | Raise or remove a card limit | BranchManager, DepositOps, CardOps, Owner | |
product_change | Change a product, including making it active | ComplianceOfficer, Controller, Owner | |
journal_entry | A manual journal entry | Controller, Owner | |
rule_change | Change a monitoring rule | BSAOfficer, Owner | |
sar_decision | Record a SAR filing or close a case | BSAOfficer, Owner | |
risk_rating | Change a customer's risk rating | BSAOfficer, ComplianceOfficer, Owner | |
check_stop | Stop payment on a check | HeadTeller, BranchManager, Owner | |
customer_authenticator | Trust a customer's authenticator | Owner, BSAOfficer (fixed) | always waits |
loan_autopay | Turn on a loan autopay | Owner, BranchManager (fixed) | always waits |
ctr_exemption | Grant a CTR exemption | BSAOfficer, Owner | |
teller_override | A teller override | HeadTeller, BranchManager, Owner | |
loan_decision | Decide a loan application | Underwriter, BranchManager, Owner | |
loan_booking | Book a loan | LoanProcessor, Underwriter, BranchManager, Owner | |
loan_disbursement | Disburse a loan | LoanProcessor, BranchManager, Owner | $25,000.00 |
loan_fee_waiver | Waive a loan fee | LoanServicer, BranchManager, Owner | $25.00 |
loan_modification | Modify a loan | Underwriter, BranchManager, Owner | |
charge_off | Charge off a loan | Controller, BranchManager, Owner | |
dormancy_reset | Reactivate a dormant account | DepositOps, BranchManager, Owner | |
hold_waiver | Release a hold early | HeadTeller, BranchManager, DepositOps, Owner | $25.00 |
customer_authenticator and loan_autopay always wait for a second person, whatever Banking Config says. Their approver roles are fixed: saving a different rule for them is refused (Customer authenticator trust requires independent Owner/BSAOfficer approval without an amount threshold. and Reviewed autopay activation requires independent Owner/BranchManager approval without an amount threshold.).
Who may approve
- Never the maker: You cannot approve your own request (
403,reason: own-request). The maker declining their own request withdraws it. - Never someone excluded — for a wire, whoever started it: You started this, so someone else must approve it. (
reason: excluded). - A different person at each level: You approved an earlier level, so someone else must approve this one. (
reason: earlier-level). - A request already decided answers
409This was already ….
A task moved on a workflow board instead of the tray follows the same rules. A move that skips a level, or that nobody but the maker made, cancels the request: It was moved past a level nobody approved. Ask again. or It was moved on without a second person approving it. Ask again.
A request is refused (409) when nobody else could approve it — Nobody else can approve this — add an approver role. or Nobody can approve level 2 (…) — give someone its role (…). — and, with the request marked cancelled, when the banking-approval workflow is turned off: Approvals are turned off: turn on the "Banking approval" workflow in Workflows, then ask again. The same product change asked again by the same person while one is waiting returns the waiting request instead of a second one.
Listing and withdrawing
GET /banking/approvals takes view — waiting (waiting on me), mine (I asked), pending (everything waiting, the default) or history (done, failed, rejected, cancelled) — plus action, status, about (the record's id), page and pageSize. Each row adds approverNames, waitingOnMe, mine and the action's label.
Approvals that belong to a compliance module — sar_decision and rule_change (Monitoring), risk_rating and customer_authenticator (KYC), ctr_exemption (Cash reporting), loan_autopay (Loans) — are left out of every list for someone who can't open that module, and reading one by id answers 404.
POST /banking/approvals/:id/cancel with { reason? } withdraws a request nobody has decided. Only the person who asked may: Only the person who asked can withdraw it. (403).
Bank records outside the Banking API
Bank records change only through the Banking routes — money moves through the ledger, with its approvals. The rest of the platform is kept away from them.
Protected records. Every banking_* datatype, plus customer_kyc, user_security and two_factor_backup. Protected files are any path with a banking, client-account, signed-documents or form-signatures folder in it.
Generic repository and forms
On the generic /repository/* routes:
| Caller | Read | Write |
|---|---|---|
| Customer, site app token | Refused: Use the bank account API for banking records. (403) | Refused, the same |
| Staff, org API key | Allowed, masked | Refused: Bank records change only through the Banking screens and API: money moves through the ledger, with its approvals. (403) |
- Customers and app tokens are refused whatever names a bank record: the datatype, a collection header, a lookup target, a collection's schema by name, the
bankingsetting, or a protected file path. A response that would carry bank records is refused too. Customer documents go through the customer file upload API, not a generic multipart upload. - Staff may read bank records on the read routes (get, find, search, query, aggregate and the like) and get them masked, as below. Every other route that names a bank record is a write and is refused. That covers create, update, delete, move, import and restoring a bank record from trash.
- A query that would read a full number another way — filtering on an account number, tax id or posting field, or using
$objectToArray,$function,$accumulatoror$where— is refused: Full account numbers and tax ids are not read through generic queries. Use Show number on the account, which is logged. - Forms. A form bound to a banking collection is not a way to write bank records, for anyone.
The masked view is what the Banking module itself shows:
- Account, card and document numbers and tax ids (
accountNumber,iban,ein,taxId,tin,documentNumber,cardNumber,pan) appear as their last four:••••1234, an EIN as••-•••1234, orOn filewhen no last four can be shown. - The bank's own books keep their
GL-…numbers. - The ledger's internal bookkeeping (
appliedKeys,postingReceipts,holdEffects,initialHeldCredits,checkStops) is removed. - Stored records are never changed by masking.
The AI agent and MCP
The in-app AI agent, its tools and MCP call_service follow the same line:
- Customers and public app identities can't reach bank records through generic tools at all. The tool answers
BANKING_GENERIC_FORBIDDEN: Use the customer banking API. Generic tools cannot read or change bank records for customers or public app identities. - Staff may read bank records through the read tools (
repo_find,repo_find_one,find_records,get_record,aggregate) and through service methods whose names read (find…,get…,search…,list…,count…and the like). Anything else that names a bank record answersBANKING_GENERIC_WRITE_FORBIDDEN. A read that would get at a full number answersBANKING_NUMBER_NOT_SHOWN. Both tell the model to send the person to Banking. - Every tool result that carries bank records reaches the model in the masked view above.
- Service calls. A direct service call is refused with the same messages (
403). A form service call into a form bound to a bank collection is refused: Banking records cannot be written or read through a generic form service call.
Automations
Automation steps that create, update, delete or move records cannot write bank records. That holds whether the step names the banking collection or uses a placeholder that resolves to the bank record that started the run. The run fails with Banking records change only through the Banking module; an automation cannot write them. See Automation.
Datatypes
| Datatype | What it is |
|---|---|
banking_product | An account product: interest, fees, overdraft, limits |
banking_account | A deposit or loan account, or one of the bank's own books (holderType: bank, numbered GL-…) |
banking_entry | One ledger line; every posted transaction writes two or more and debits equal credits |
banking_transaction | One movement of money: transfer, ACH, wire, card purchase, fee, interest |
banking_hold | Money kept back on an account |
banking_statement | An account's statement for one period |
banking_file | A file handed to the sponsor bank (an ACH/NACHA file) |
banking_counterparty | An account at another bank a customer sends to or pulls from |
banking_card | A debit card (the processor keeps the number; the bank keeps a token and the last four) |
banking_dispute | A customer saying a transaction is wrong |
banking_money_request | A request for money between members |
banking_approval | A maker-checker request |
banking_teller_session, banking_drawer, banking_instrument_sale | A teller's day on a till; a till or vault; an official check or money order sold |
banking_ctr, banking_ctr_exemption | Currency transaction reports and exemptions |
banking_loan_product, banking_loan_application, banking_loan, banking_collection_activity | Lending and collections |
banking_rule, banking_alert, banking_case, banking_screening, banking_314a_request | Monitoring, sanctions and 314(a) |
The models are in the SDK under models/banking. Customers are ordinary CRM customer records; their identity check is customer_kyc.