/client/banking/* is what a bank's customer app calls. Every route answers for the signed-in customer only, and only about records that customer holds. Customers sign in through the ordinary customer routes (/profile/customer/*, see Customer authentication).
Identity checks (/client/banking/identity), money-movement verification (/client/banking/security), loans and loan autopay are on Customer identity and loans. The bank's side is in the AppMint Banking overview.
Who may call
/client/banking/accountsCLIENTclient means a customer session. A staff session, a site's app token or no token gets 401 with Sign in to your bank account.
- Another customer's record is a 404. An account, card, payee, dispute, transfer, request or schedule that is not the caller's answers
404(Account not found., Card not found., Payee not found.…). A 404 never hints that the record exists. - Holder roles. Each account lists its holders with a role.
primaryandjointown the account;authorized_userandcontrollermay use it. Reading an account, its transactions, statements and cards, renaming it, ordering a card, sending a transfer or payment, and filing a dispute need any of the four. Owner-only: the overdraft choice, receiving details, pulling money in, member receiving, every portal transfer, and the accounts a scheduled transfer uses. - The bank's own books are never a customer account. An account with
holderType: 'bank'answers 404 here. - Money is whole cents.
amountis an integer number of cents (1250= $12.50). Anything else is refused with Send amount in cents, as a whole number (1250 = $12.50).
Accounts
/client/banking/productsCLIENT/client/banking/accountsCLIENT/client/banking/accountsCLIENT/client/banking/accounts/:idCLIENT/client/banking/accounts/:id/receive-detailsCLIENT/client/banking/accounts/:id/nicknameCLIENT/client/banking/accounts/:id/overdraftCLIENTproducts lists the account products open for new accounts (banking_product with status: active, by title, up to 100).
accounts lists the caller's accounts that are not closed. Each one comes back with data.balances worked out by the ledger: posted, held, available (posted minus held), spendable (available plus the overdraft limit), overdraftLimit and currency. A holder sees the full account number. The ledger's internal posting fields are never in the answer, and a business EIN shows as its last four (••-•••1234).
POST accounts opens an account with the caller as the primary holder: { product, nickname?, business? }. Sending business (with at least legalName) makes a business account; its EIN is stored encrypted. The product must be active and, when it names a holder type, match: Checking Plus is for business accounts. Before Banking is configured the call answers 409 Banking isn't set up yet: …. The answer is { account, gaps }. The account starts pending and opens by itself once nothing is in the way. Every primary, joint, controller and beneficial-owner holder needs verified identity, and a business needs KYB. gaps says what is still missing, in words: [email protected] (primary) needs identity verification — it is not started.
GET accounts/:id on a pending account tries to open it again and returns { account, gaps }. On any other account it returns { account, gaps: [] }.
receive-details gives an owner what to hand a payer: accountHolder (the business's legal name or the owner's name), bankName, accountType, routingNumber, accountNumber, accountMask and a note. Only an open USD checking, savings or money market account that can take credits qualifies: Choose an open USD deposit account that can receive money. If the bank has no name or valid routing number configured: The bank has not configured its receiving instructions.
nickname takes { nickname }, cut to 40 characters. overdraft takes { optedIn } and is for owners only. It is the Reg E choice for card and ATM overdrafts. Without it, a card purchase or ATM withdrawal larger than the available balance is declined with Not enough money in the account. Both return the account.
Datatypes: banking_product, banking_account.
Transactions and statements
/client/banking/accounts/:id/transactionsCLIENT/client/banking/transactions/:idCLIENT/client/banking/accounts/:id/statementsCLIENT/client/banking/accounts/:account/statements/:id/pdfCLIENTtransactions is newest first and paged (page, pageSize): { total, data }. It holds what the account sent or received, plus transfers from other accounts here once they have posted. transactions/:id reads one, from the account that sent it or (once posted) the one it went to. ?account= names which of your accounts you are viewing it from. Any other caller gets 404.
What a customer sees of a transaction. The answer is built field by field from a fixed list. Anything the bank adds later stays private unless it is added to that list.
| Field | Notes |
|---|---|
kind, rail, direction, account, toAccount, counterparty, counterpartyName, amount, currency, description, memo, reference, effectiveDate, postedAt, returnedAt, failureReason, reverses, feeFor, dispute | As stored, when present |
status | in_review (held by monitoring for a person) reads as pending |
network | Only traceNumber, imad, returnCode, sameDay |
card | Only the card id, authorizationCode, merchant name, category code, city and country, entryMode |
cash | Business date, cash in and out, cash type, fee, and per item its amount, class, check number and holds (amount, available on, reason) |
loan | The loan, installment and how the payment was split (principal, interest, fees, penalties, unapplied) |
category | A spending category (see Insights) |
actions | { dispute, cancel }: whether this customer can dispute or cancel it now |
Monitoring's review, the hold and file behind a payment, a teller's drawer, staff and approval details, and a third party's identity on a cash transaction are never returned. On the receiving side of a transfer the customer gets a short view instead. It has direction: 'in', the amount and status, description as the sender's transfer line (or Transfer received), the memo, reference and postedAt, and both actions false.
statements returns the saved statements, latest period first: up to 60 as an array, or { total, data } when page or pageSize is sent. The pdf route downloads one as an attachment. It is refused unless the statement's activity adds up to its opening and closing balances: Statement activity does not reconcile with the saved period. Ask the bank to review it.
Datatypes: banking_transaction, banking_statement.
Moving money
/client/banking/transfersCLIENT/client/banking/paymentsCLIENT/client/banking/pullsCLIENT/client/banking/transactions/:id/cancelCLIENTAll three money routes need an idempotencyKey from a customer: Send a stable idempotencyKey so an unchanged retry cannot send money twice. It is a non-empty string of up to 200 characters. Resending the same key with the same terms returns the original transaction and never moves money twice. The same key with different terms is a 409: This key belongs to different payment terms or a different caller. Review the original transaction. Each route returns the transaction in the customer view above.
| Route | Body | What it does |
|---|---|---|
transfers | { from, to, amount, memo?, idempotencyKey } | To another account at this bank. to is an account number or id, and may be someone else's account |
payments | { account, counterparty, rail, amount, sameDay?, memo?, idempotencyKey } | To one of your payees at another bank. rail is ach, wire, rtp or fednow |
pulls | { account, counterparty, amount, memo?, idempotencyKey } | Brings money in by ACH from your own verified payee. Owners only |
What is checked before money moves:
- Deposit accounts only. Loan and internal accounts are refused.
- The sending account is open and not blocked for debits: Money can't leave this account right now. Contact the bank. The account being paid into must be open and able to take credits.
- Same currency. A transfer between currencies is refused: converting is not set up. ACH, wire, RTP and FedNow carry US dollars only.
- Payee rails. A payee takes the rails on its record (
achandwirefor a US payee,wireonly for an international one): Jane Doe's bank doesn't take RTP. It takes ACH, WIRE. An account blocked forexternal_outcannot pay other banks. - Travel Rule. A wire of $3,000 or more must carry the originator's and payee's details. Otherwise the call is refused and names the missing details.
- Limits. The product's limits apply, with the account's own limit winning for the same rail, direction and period. A limit caps one payment, or a day's or month's total amount or count, and is checked against everything not failed, cancelled, reversed or returned: That would pass the ACH limit of $5,000.00 today — $1,200.00 left. A savings product's
withdrawalsPerMonthis enforced too: This account allows 6 withdrawals a month, and they're used. Limit refusals are422. - Enough to spend. The amount must fit in
spendable: There is not enough available money for this transfer. - A pull needs a verified payee: Verify Jane Doe's account before pulling money from it.
The money is then held on the account and screened by monitoring. A blocked payment comes back failed with its reason. A held one is in_review and reads as pending. A transfer that passes posts at once. An ACH payment waits for the next ACH file, and a wire or instant payment waits for the bank to send it.
cancel stops a payment you started that has not gone yet: Only a payment you made can be cancelled here. It must still be pending or in review (It's posted and can't be cancelled.), not already in an ACH file, and not money arriving from another bank. The hold is released.
When the bank asks for authenticator verification on money movement, these four routes also need a bankingProof for the exact instruction. Without one they answer 403 with code STEP_UP_REQUIRED. The same applies to withdrawing a dispute. How to get a proof is on Customer identity and loans.
Payees
/client/banking/payeesCLIENT/client/banking/payeesCLIENT/client/banking/payees/:idCLIENT/client/banking/payees/:id/micro-depositsCLIENT/client/banking/payees/:id/confirmCLIENTA payee is one of your accounts at another bank, or someone you pay there. To add a US payee, send { holderName, routingNumber, accountNumber, accountType, holderType }. The routing number is checked, and the account number must be 4 to 17 digits. To add an international payee, send { kind: 'international', holderName, swiftBic, iban or accountNumber, address }. Numbers are stored encrypted. Payees come back without the account number or IBAN, only accountLast4. DELETE turns a payee off, and it leaves the list.
Micro-deposit verification (US payees only):
micro-depositssends two deposits of 1 to 99 cents, paid from the bank's funding book, in the next ACH file. The payee's verification becomespendingwith three tries.confirmtakes{ amounts: [32, 45] }in cents, in either order. It answers The deposits haven't been sent yet. They go out at the next ACH cutoff. until both deposits have posted.- A match marks the payee
verified. A miss costs a try (Those amounts don't match. 2 tries left — enter them in cents (0.32 is 32).). After the third miss the verification fails, and the payee must be added again or verified by the bank.
Datatype: banking_counterparty.
Member transfers and money requests
Customers of the same bank can pay each other by exact username, but only someone who has opted in can be found.
/client/banking/receivingCLIENT/client/banking/receivingCLIENT/client/banking/members/resolveCLIENT/client/banking/requestsCLIENT/client/banking/requestsCLIENT/client/banking/requests/:idCLIENT/client/banking/requests/:id/cancelCLIENT/client/banking/requests/:id/declineCLIENT/client/banking/requests/:id/shareCLIENTReceiving. GET receiving returns { enabled, account, revision, username }. PUT receiving takes exactly { enabled, account?, revision }. To switch on, the customer needs a bank identity record (Complete the bank identity review before enabling receiving.) and a username. account must be an account they own that is an open USD checking, savings or money market account able to take credits. revision must be the one last read: Receiving preferences changed. Refresh before saving. The route never changes the sign-in username.
Finding a member. members/resolve takes { username }, matched exactly. A caller gets 20 lookups a minute (Too many member lookups. Try again in a minute.). The answer is { found: false } when the username is not exactly one customer, is the caller, or has not opted in. Otherwise it is { found: true, name, handle, recipientToken, expiresAt }. name is the member's first and last name (or Bank member). The member's account id and number are never shown. recipientToken lasts 10 minutes and works only for the caller who looked it up. Pay with it through a portal transfer of kind: 'internal'.
When a review describes a payment to another member's account, it shows only the holder's name and the bank as “Ann Lee · Tidewell member” (the bank name without “Bank”). Your own account shows as its last four.
Requests. A money request asks for one full USD amount, paid into your receiving account.
POST requeststakes exactly{ toAccountId, amount: { amount, currency: 'USD' }, memo?, payerToken?, expiresAt? }.toAccountIdmust be your designated receiving account, and the memo is up to 200 characters.expiresAtis a UTC time within 30 days (default 7 days).payerTokenis arecipientTokenfrommembers/resolve; it addresses the request to that member. Without one, the request gets a private share link,payUrl(/banking/requests/:id?token=…), returned once. No message is sent: you pass the link on yourself.GET requests?direction=outgoing|incoming(paged) lists the requests you made or the ones addressed to you.GET requests/:id?token=reads one as its requester, payer, or anyone signed in holding a valid, unexpired share token for an unaddressed request.- Each request shows
{ id, direction, amount, memo, status, counterparty: { name }, createdAt, expiresAt, paidAt }.statusisopen,processing,paid,declined,cancelledorexpired. While a payment is processing it carries Do not send another payment for this request. - The requester can
cancelan open request and the payer candeclineone. Once a payment is claimed, neither works: This request is no longer open. Refresh its payment status.sharemakes a new share link and the old one stops working. - A request is paid through a portal transfer of
kind: 'request', for the exact amount and memo. You can't pay your own request.
Datatype: banking_money_request.
Portal transfers
The customer portal's review, then confirm flow. A preview checks the transfer and returns signed terms. Nothing moves until those exact terms are confirmed.
/client/banking/portal/transfers/options?kind=CLIENT/client/banking/portal/transfers/previewCLIENT/client/banking/portal/transfers/security-reviewCLIENT/client/banking/portal/transfersCLIENT/client/banking/portal/transfers/:idCLIENTkind | From → to | Speed | Scheduling |
|---|---|---|---|
own | Between two of your own USD checking, savings or money market accounts | instant | Yes |
external | To an active, verified US payee, by standard ACH | standard | Yes |
internal | To another member, with recipientToken | instant | No |
request | Paying a money request, with requestId (and shareToken for a shared link) | instant | No |
options returns the speeds, fees (always zero), timing notes and the repeat choices for own, external or internal. Any other kind answers 501.
Preview. The body is { kind, fromAccountId, toAccountId | recipientId | recipientToken | requestId, amount: { amount, currency: 'USD' }, memo?, scheduledFor?, repeat? }. The memo is up to 200 characters. The preview runs the same checks as sending now, including limits and money available. A transfer scheduled for a later day is not checked against today's balance. The answer carries a previewId that is good for 10 minutes, the from and to labels, amount, fee, total, availableAfter and notices. It never contains another member's account; a member's destination is kept only as a digest.
Confirm. POST portal/transfers takes { previewId, idempotencyKey, bankingProof? }. An expired preview answers 409 with code PREVIEW_EXPIRED. A preview is never run twice. A repeat with the same key returns the first result, and a key reused for another review is IDEMPOTENCY_CONFLICT. A second confirm while the first is running is TRANSFER_PROCESSING. The answer is { id, kind, status, from, to, amount, fee, total, speed, memo, createdAt, reference, … }, with status as completed, pending or canceled. A request payment also returns requestId and requestStatus.
Security review. When the bank asks for authenticator verification, security-review takes { previewId }. It returns { required: false } when no verification is needed. Otherwise it returns a challenge (challengeId, expiresAt, a summary of the amount, source and destination) to verify with the authenticator. The resulting proof goes into the confirm as bankingProof. See Customer identity and loans.
GET portal/transfers/:id reads back your own-account transfers and the external ACH payments you made. Anything else is a 404.
Scheduled transfers
A preview with scheduledFor (a date from today to a year out) or repeat: { frequency, until? } makes a scheduled transfer. frequency is once, weekly, every_2_weeks or monthly, and until is within five years. Confirming it saves the instruction. If the first date is today, that first transfer is made at once. A monthly plan keeps the first date's day, or the month's last day.
/client/banking/scheduled-transfers?status=activeCLIENT/client/banking/scheduled-transfers/:idCLIENT/client/banking/scheduled-transfers/:id/skipCLIENT/client/banking/scheduled-transfers/:id/cancelCLIENTThe list puts what comes next first. Each item has { id, kind, status, amount, memo, from, to, frequency, frequencyLabel, startDate, until, nextDate, stoppedReason, occurrences }, and occurrences keeps the last 24 dates with what happened on each. status is active, completed, failed, stopped or cancelled.
skip passes over only the next date of a repeating transfer (A one-time transfer can be cancelled, not skipped.). cancel stops it and every repeat still to come. Neither moves money, so neither needs verification.
Each morning a daily job (06:00) makes the transfers due that day. They go as the customer, through the same transfer and ACH routes as a transfer made by hand, so limits, holds, monitoring and replays behave the same. If an external payee's details changed or it is no longer verified, the plan stops instead of paying the new details. A failed date is recorded with its reason and sends a scheduled alert.
Cards
/client/banking/accounts/:id/cardsCLIENT/client/banking/accounts/:id/cardsCLIENT/client/banking/cards/:id/activateCLIENT/client/banking/cards/:id/lockCLIENT/client/banking/cards/:id/unlockCLIENT/client/banking/cards/:id/controlsCLIENT/client/banking/cards/:id/replaceCLIENTThe card number, CVV and PIN stay with the card processor. A card here shows its state, last four, expiry, controls (the limits in force) and bankLimits (the bank's own caps). The processor's id is never returned. You can act on a card when you are its cardholder or an owner of its account.
- Order
{ form: physical|virtual, nameOnCard?, shipping: { address, method? } }, with yourself as the cardholder. The account must be open (Cards are for open accounts.), and its product must offer that form of card. A physical card needs a shipping address. It startsordered. Once the processor reports it made, a virtual card isactiveand a physical one isshipped. - Activate a shipped card with
{ last4 }: Those aren't the last 4 digits on this card. - Lock an active card or unlock a locked one. A lost, stolen, closed or expired card can't change.
- Controls take
perTransaction,dailySpendanddailyAtmin cents, plusonline,atm,internationalandblockedCategories. Your limits can only tighten the bank's: going above a bank cap is403That is above the bank's card limit. Choose a lower limit or contact the bank., andnullreturns to the bank's limit (never unlimited). - Replace
{ why: lost|stolen|damaged, shipping? }retires the card and orders a new one for the same account and cardholder. The new card keeps the old card's controls. It returns{ card, account }.
Datatype: banking_card.
Disputes
/client/banking/disputesCLIENT/client/banking/disputesCLIENT/client/banking/disputes/:id/withdrawCLIENTPOST disputes takes { transaction, reason, amount?, description, documents? }. reason is one of unauthorized, not_received, duplicate, wrong_amount, cancelled_recurring, not_as_described, atm_cash_not_received, other. The transaction must be posted money that left the account, not a fee, interest, adjustment or reversal (Only money that left the account can be disputed. For a fee, contact the bank.). It must have posted within 90 days and not already be disputed. amount defaults to the whole transaction and can't be more.
Filing is the customer's notice to the bank. The dispute starts submitted with the Reg E dates decideBy (10 business days, or 20 on a new account) and resolveBy (45 calendar days, or 90 for a new account, a point-of-sale debit or one started abroad). The bank then investigates, may give provisional credit, and decides; see Payments, cards and disputes.
withdraw ends a dispute that is not already won, lost or withdrawn. Any provisional credit is taken back. It is a money operation, so it needs a bankingProof when the bank asks for verification.
GET disputes lists your disputes, newest first: up to 100 as an array, or { total, data } when paged.
Datatype: banking_dispute.
Alerts
/client/banking/alerts/settingsCLIENT/client/banking/alerts/settingsCLIENT| Setting | Default | Alert |
|---|---|---|
deposits | true | Money came in (not between your own accounts, not interest or fees) |
largePurchase: { on, over } | on, 50000 | A card purchase or withdrawal at or over the amount |
lowBalance: { on, below } | on, 10000 | Available balance under the amount, at most once a day per account |
declined | true | A card was declined |
scheduledFailed | true | A scheduled transfer did not go |
push / email | true / false | How they are delivered |
PUT merges what is sent into the saved settings. Unknown keys are refused (Unknown alert setting: …), and amounts are whole cents up to $1,000,000. Alerts go to the account's owners, each at most once. They land in the customer's notification inbox (client-data/notifications, variant banking-alert-<kind>) and are pushed, and emailed when asked.
Insights
/client/banking/insights?month=YYYY-MM&account=CLIENTOne month of the caller's money across their checking, savings and money market accounts, or just one with account. The month defaults to this one and can't be in the future. The answer is { month, currency, moneyIn, moneyOut, net, transactions, categories, topMerchants, days, accounts, previous }, with last month's in, out and categories under previous. Transfers between your own accounts are left out. A transfer received counts once it has posted. Pending and in-review items count. Only USD counts.
Every transaction carries data.category, one of income, transfers, groceries, dining, shopping, transport, bills, housing, health, entertainment, travel, cash, fees, interest, other. Card spending is categorized by the merchant category code, and ATM use is cash. Pulling from your own account elsewhere is transfers, not income. Categories are worked out when read and never stored.
Documents
/client/banking/accounts/:account/statements/:id/pdfCLIENT/client/banking/loans/applications/:id/adverse-action/pdfCLIENT/client/banking/loans/:id/payoff/pdf?date=YYYY-MM-DDCLIENTEach downloads a PDF as an attachment for the caller's own record. The adverse-action notice is available only once the bank has sent it. The payoff letter checks the loan is yours, as the payoff quote on Customer identity and loans does.