Linking methods
Rollfi supports two main methods for linking company bank accounts. A linked and verified company funding source is required for payroll processing.Option 1 - Manual linking with micro-deposit verification
Use this method when you want to collect account and routing details directly.- Step 1: Add the account using addCompanyBankAccount.
- Step 2: Verify ownership using verifyMicroDeposits.
addCompanyBankAccount:
companyIdaccountNumberroutingNumberbankNameaccountName
checkingsavings
Option 2 - Plaid linking
Plaid linking for company bank accounts is supported directly through addCompanyBankAccount. UselinkType to specify the linking method:
ManualPlaidCustomProvider
linkType is Plaid, set plaidOptions to one of:
sendInviteByEmailgenerateURL
sendInviteByEmail, the invite is sent to the payroll admin by default. You can override the destination by providing email.
The initial valid Plaid link is reused for subsequent addCompanyBankAccount calls until it expires. Plaid links typically expire after 72 hours.
๐น Plaid URL flow
Use this flow when you want to surface the Plaid link in your own UI.- Set
linkTypetoPlaid. - Set
plaidOptionstogenerateURL. - Use the
plaidLinkURLfrom the response.
๐น Plaid invitation flow
Use this flow when you want Rollfi to email a one-time Plaid link to the company admin.- Set
linkTypetoPlaid. - Set
plaidOptionstosendInviteByEmail. - Optionally provide
emailto override the payroll admin email. If omitted, the invite defaults to the payroll adminโs email.
Updating or replacing a company bank account
When a company needs to switch their funding source, deactivate it and add the replacement account separately. Use deactivateCompanyBankAccount to retire the old account, then addCompanyBankAccount to link the new one.- A company should always have at least one active bank account on file.
- If the banking details change, treat it as a replacement rather than trying to reactivate the old account.
