connect Plaid Bank Account
suspend fun connectPlaidBankAccount(request: PaymentMethodRequests.ConnectPlaidBankAccountRequest): Pair<FrameObjects.PaymentMethod?, NetworkingError?>
Creates a new ACH payment method by connecting a bank account via Plaid.
Return
A pair of the created payment method and a networking error.
Parameters
request
The Plaid public token, account identifier, and optional institution metadata.
fun connectPlaidBankAccount(request: PaymentMethodRequests.ConnectPlaidBankAccountRequest, completionHandler: (FrameObjects.PaymentMethod?, NetworkingError?) -> Unit)
Creates a new ACH payment method by connecting a bank account via Plaid and delivers the result to a callback.
Parameters
request
The Plaid public token, account identifier, and optional institution metadata.
completion Handler
Called with the created payment method on success, or a NetworkingError on failure.