Skip to main content

Overview

Two question types can be answered by linking a bank account instead of uploading a document: The completeRfiPlaidLink mutation exchanges the public token from Plaid Link, links the bank to the customer’s Fluz account, and saves the link as the question’s answer. It does not submit the RFI. Call submitRfi afterwards to send it for review.

Required scopes

MANAGE_PAYMENT is required because the bank is also added to the customer’s account as a funding source. createPlaidLinkToken needs it too.

Flow

1

Create a Link token

Call createPlaidLinkToken with the customer’s token. See Linking a bank account via Plaid.
2

Open Plaid Link

Open Plaid Link with that token. When the customer finishes, Plaid returns a public_token.
3

Call completeRfiPlaidLink

Pass the rfiId, the questionId and the public_token. The bank is linked and the answer is saved.
4

Submit the RFI

Call submitRfi. Leave the linked question out of answers — the saved link already answers it.

Basic mutation structure

Parameters

CompleteRfiPlaidLinkInput

cURL Example

Response details

CompleteRfiPlaidLinkResponse

PlaidLinkedBankAccount

After this call, the question reads back with isSubmitted: true and an answer of type PLAID_BANK_LINK.

Address questions

For an ADDRESS_VERIFICATION_OR_DOCUMENT question, the bank must confirm the customer’s address. If it does not:
  • the call fails with ADDRESS_NOT_VERIFIED and no answer is saved,
  • the bank stays linked to the customer’s account, and
  • the customer can link a different bank, or you can upload a proof-of-address document and answer the question in submitRfi.
Calling completeRfiPlaidLink again for the same question replaces the saved link, as long as the RFI is still PENDING_DOCUMENTS. A question already answered with documents cannot be switched to a bank link.

Error Codes

Failures are returned in the top-level errors array. RFI errors carry extensions.rfiErrorCode.

Submit an RFI

Send the RFI for review after linking.

Linking a bank account via Plaid

createPlaidLinkToken and the Plaid Link flow.