> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
> Use this file to discover all available pages before exploring further.

# linkBraleAchBank

> Links the bank account from Plaid Link to a pay-by-bank (ACH) checkout

async

Links the bank account that the user chose in Plaid Link to a pay-by-bank (ACH) checkout.

Copy method signature

### Returns

[`BraleAchCheckout`](https://docs.getpara.com/v3/references/core/getbraleachcheckout#types)

The checkout with `stage: "linked"` and `nextAction: "confirm_deposit"`.

## Usage

Call this method from Plaid Link's `onSuccess` callback, then submit the deposit.

```typescript theme={null}
await para.linkBraleAchBank({ checkoutId: checkout.id, publicToken });
const { purchaseId } = await para.submitBraleAchDeposit({ checkoutId: checkout.id });
```

```typescript Signature theme={null}
linkBraleAchBank(params: { checkoutId: string; publicToken: string }): Promise<BraleAchCheckout>
```

Para saves the linked bank for the user. A later checkout in your app, in the same test or live mode, can reuse it: that checkout's response has `nextAction: "confirm_deposit"` and the bank in `savedBank`.

> [!NOTE]
>
> The Plaid link token expires at the checkout's `linkTokenExpiresAt`. After that time, this method fails, and you must start a new checkout with [`createBraleAchCheckout`](https://docs.getpara.com/v3/references/core/createbraleachcheckout).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.