Skip to content

Commit b86531b

Browse files
committed
making accountInfo optional for plaid linking
1 parent 148dc21 commit b86531b

File tree

4 files changed

+1
-24
lines changed

4 files changed

+1
-24
lines changed

mintlify/openapi.yaml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mintlify/snippets/plaid-integration.mdx

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -249,27 +249,7 @@ app.post('/api/plaid/exchange-token', async (req, res) => {
249249
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
250250
"status": "PENDING",
251251
"platformAccountId": "user_123_primary_bank",
252-
"currency": "USD",
253-
"accountInfo": {
254-
"accountType": "US_ACCOUNT",
255-
"accountNumber": "123456789",
256-
"routingNumber": "021000021",
257-
"accountCategory": "CHECKING",
258-
"bankName": "Chase Bank",
259-
"beneficiary": {
260-
"beneficiaryType": "INDIVIDUAL",
261-
"fullName": "John Doe",
262-
"birthDate": "1990-01-15",
263-
"nationality": "US",
264-
"address": {
265-
"line1": "123 Main Street",
266-
"city": "San Francisco",
267-
"state": "CA",
268-
"postalCode": "94105",
269-
"country": "US"
270-
}
271-
}
272-
}
252+
"currency": "USD"
273253
}
274254
```
275255

openapi.yaml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/external_accounts/ExternalAccount.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ allOf:
44
- id
55
- status
66
- currency
7-
- accountInfo
87
properties:
98
id:
109
type: string

0 commit comments

Comments
 (0)