List bank accounts
GET /api/bank-accounts
Returns all bank accounts connected to your businesses.
Get Plaid link token
GET /api/bank-accounts/plaid-link-token
Returns a short-lived Plaid Link token. Pass this token to the Plaid Link SDK on the client to initiate the bank connection flow.
Connect via Plaid
POST /api/bank-accounts/connect-plaid
Completes the Plaid bank connection after the user finishes the Plaid Link flow. Pass the publicToken and selected accountId returned by Plaid.
Request body
The public token returned by Plaid Link after the user authenticates.
The Plaid account ID of the bank account the user selected.
The business to associate this bank account with.
Connect manually
POST /api/bank-accounts/connect-manually
Connects a bank account using routing and account numbers. Cleo Pay sends two small micro-deposits to the account, which you must verify before the account becomes active for payments.
Request body
9-digit ABA routing number.
Bank account number.
Account type. Accepted values:
checking, savings.A display name for this account (e.g.,
Business Checking).The business to associate this bank account with.
After connecting manually, you must verify the account using micro-deposits before it can be used for payments.
Verify micro-deposits
POST /api/bank-accounts/{fundingSourceId}/verify-micro-deposits
Verifies a manually connected bank account by confirming the two micro-deposit amounts sent to it.
Path parameters
The unique ID of the funding source (bank account).
Request body
First micro-deposit amount in dollars (e.g.,
0.03).Second micro-deposit amount in dollars (e.g.,
0.07).Set as default
PATCH /api/bank-accounts/{fundingSourceId}/set-as-default
Sets the specified bank account as the default funding source for the business. The default account is pre-selected when initiating payments.
Path parameters
The unique ID of the funding source to set as default.
Remove bank account
DELETE /api/bank-accounts/{fundingSourceId}
Removes a bank account from Cleo Pay. You cannot remove an account with pending transactions.
Path parameters
The unique ID of the funding source to remove.