You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-12-02] [$250] [Exploratory] Wallet - Error appear after transfer to the Business bank account #92371
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorInternalRequires API changes or must be handled by Expensify staff
changed the title [-][Exploratory] 92180 - Wallet - Error appear after transfer to the Business bank account[/-][+][Exploratory] Wallet - Error appear after transfer to the Business bank account[/+]on Jun 2, 2026
When transferring the wallet balance, the frontend picks which API parameter carries the destination ID based on the account type — but it only treats a personal bank account as a bank account. Everything else (including a business bank account) is sent as a debit card.
A business bank account has accountType === 'businessBankAccount' (CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT), which is notPERSONAL_BANK_ACCOUNT, so the ternary falls to the else branch and sends the account's methodID under fundID (the debit-card key) instead of bankAccountID. Auth receives a fundID that maps to no debit card, so TransferWalletBalance fails with Auth TransferWalletBalance returned an error.
This is exactly why the transfer works for a personal bank account (sends bankAccountID) but fails for a business bank account.
What changes do you think we should make in order to solve the problem?
Flip the condition so only a debit card uses fundID, and any bank account (personal or business) uses bankAccountID:
Confirmed accountType on the selected method flows straight from the bank account object via formatPaymentMethods and is persisted by saveWalletTransferAccountTypeAndID in TransferBalancePage.tsx, so a business bank account carries businessBankAccount at the call site.
Related (worth a look while fixing, but not the cause of this error): the transfer-method type in TransferBalancePage.tsx:146 also only maps PERSONAL_BANK_ACCOUNT to ACH, so a business bank account currently gets the INSTANT (fee) path. Confirm the intended fee/tier behavior for business bank accounts.
Quick scan found no existing open duplicate for this specific error.
What alternative solutions did you explore? (Optional)
Alternatively, check membership against both bank-account types (PERSONAL_BANK_ACCOUNT or BUSINESS_BANK_ACCOUNT) to select bankAccountID. The debit-card-only check above is simpler and future-proof against new bank-account types.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/92371) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
changed the title [-][$250] [Exploratory] Wallet - Error appear after transfer to the Business bank account[/-][+][Due for payment 2026-12-02] [$250] [Exploratory] Wallet - Error appear after transfer to the Business bank account[/+]on Nov 25, 2026
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorInternalRequires API changes or must be handled by Expensify staff
Activity
applause-bot commentedon Jun 2, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/14dc877d3943df7f3e204ed964940d75af90187462d6ec24ea6ca585cdef9300
[-][Exploratory] 92180 - Wallet - Error appear after transfer to the Business bank account[/-][+][Exploratory] Wallet - Error appear after transfer to the Business bank account[/+]MelvinBot commentedon Jul 17, 2026
Proposal
What is the root cause of that problem?
When transferring the wallet balance, the frontend picks which API parameter carries the destination ID based on the account type — but it only treats a personal bank account as a bank account. Everything else (including a business bank account) is sent as a debit card.
In
transferWalletBalance(src/libs/actions/PaymentMethods.ts:344-349):A business bank account has
accountType === 'businessBankAccount'(CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT), which is notPERSONAL_BANK_ACCOUNT, so the ternary falls to theelsebranch and sends the account'smethodIDunderfundID(the debit-card key) instead ofbankAccountID. Auth receives afundIDthat maps to no debit card, soTransferWalletBalancefails withAuth TransferWalletBalance returned an error.This is exactly why the transfer works for a personal bank account (sends
bankAccountID) but fails for a business bank account.What changes do you think we should make in order to solve the problem?
Flip the condition so only a debit card uses
fundID, and any bank account (personal or business) usesbankAccountID:Verification & notes
accountTypeon the selected method flows straight from the bank account object viaformatPaymentMethodsand is persisted bysaveWalletTransferAccountTypeAndIDinTransferBalancePage.tsx, so a business bank account carriesbusinessBankAccountat the call site.TransferBalancePage.tsx:146also only mapsPERSONAL_BANK_ACCOUNTto ACH, so a business bank account currently gets the INSTANT (fee) path. Confirm the intended fee/tier behavior for business bank accounts.What alternative solutions did you explore? (Optional)
Alternatively, check membership against both bank-account types (
PERSONAL_BANK_ACCOUNTorBUSINESS_BANK_ACCOUNT) to selectbankAccountID. The debit-card-only check above is simpler and future-proof against new bank-account types.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/92371)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
melvin-bot commentedon Jul 17, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ChavdaSachin (
External)76 remaining items
[-][$250] [Exploratory] Wallet - Error appear after transfer to the Business bank account[/-][+][Due for payment 2026-12-02] [$250] [Exploratory] Wallet - Error appear after transfer to the Business bank account[/+]melvin-bot commentedon Nov 25, 2026
Details
expensify-chore-bot commentedon Nov 30, 2026
@mukhrr Huh... This is 4 days overdue. Who can take care of this?
expensify-chore-bot commentedon Dec 1, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)expensify-chore-bot commentedon Dec 1, 2026
Payment Summary
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Dec 3, 2026
Matt's AI agent:
Prep notes for the CM. This is not a payment approval. Do not request payment until the CM posts the final amount.
Waiting on C+ checklist from @Krishna2323.
Job price: $250.
Price basis: Help Wanted.
Next: wait for the C+ checklist.
Evidence
PAYPREP v1mallenexpensify commentedon Dec 4, 2026
@Krishna2323 plz complete the Contributor+ checklist and tag me in a post once you have. Thx