You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a Plaid Funding Source for a Customer using a 'high level request'. It does not work, since routingNumber, accountNumber, and other unrelated and unnecessary fields, are not nullable. Therefore, when passing in only the customerId, plaidToken, and name (as in the documentation), your code throws IllegalArgumentException. It's expecting routingNumber, accountNumber, etc. to be non-null.
The signature for the FundingSourcesApi createForCustomer is:
Hello @jcoon97
I'm trying to create a Plaid Funding Source for a Customer using a 'high level request'. It does not work, since routingNumber, accountNumber, and other unrelated and unnecessary fields, are not nullable. Therefore, when passing in only the customerId, plaidToken, and name (as in the documentation), your code throws IllegalArgumentException. It's expecting routingNumber, accountNumber, etc. to be non-null.
The signature for the FundingSourcesApi createForCustomer is:
fun createForCustomer( customerId: String, routingNumber: String, accountNumber: String, bankAccountType: BankAccountType, name: String, plaidToken: String? = null, channels: List<FundingSourceChannel>? = null, onDemandAuthorizationId: String? = null, verified: Boolean? = null, idempotencyKey: String? = null ): FundingSource
Yet, in the documentation,
dwolla.fundingSources.createForCustomer( customerId = "707177c3-bf15-4e7e-b37c-55c3898d9bf4", plaidToken = "processor-sandbox-161c86dd-d470-47e9-a741-d381c2b2cb6f", name = "Jane Doe's Checking" )
The text was updated successfully, but these errors were encountered: