Banking & fintech
Plaid mock API
Plaid API: link tokens, sandbox public tokens, items and access tokens, accounts, balances, transactions sync and sandbox item controls with webhooks.
At a glance
- Operations
- 351
- Stateful operations
- 11
- Stateful resources
- 5
- Webhook events
- 3
- Vendor API version
- 2020-09-14_1.822.2
- Verification
- Spec-verified
How it works
Use Plaid without calling Plaid Inc.
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
PLAID-CLIENT-ID: 5f2a1b3c4d5e6f7a8b9c0d1e State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Link tokens | 1 |
| Sandbox public tokens | 1 |
| Items and sandbox controls | 6 |
| Accounts and balances | 2 |
| Transactions sync | 1 |
Webhooks
Events your handlers can receive
- TRANSACTIONS.INITIAL_UPDATE
- ITEM.ERROR
- TRANSACTIONS.SYNC_UPDATES_AVAILABLE
Deliveries are unsigned: Plaid signs webhooks with an ES256 JWT (Plaid-Verification header) verified against keys fetched from Plaid's webhook_verification_key/get endpoint — asymmetric, not reproducible by a shared-secret signer.
Coverage
351 operations
11 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 340 |
| Items and sandbox controls | 6 |
| Accounts and balances | 2 |
| Link tokens | 1 |
| Sandbox public tokens | 1 |
| Transactions sync | 1 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
Source and limits
License, source and limits
- Generated from the Plaid Inc. API description, licensed under No licence published (plaid/plaid-openapi has no LICENSE file and no info.license).
- Plaid Inc. API documentation
- Source specification
Each collection holds up to 1 MiB of objects per client id; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Stateful: link tokens, sandbox public tokens, items and access tokens, accounts and balances (3 accounts per item), transactions sync (8 seeded transactions per item, paged by cursor), sandbox reset_login and fire_webhook; every other operation answers a schema-valid sample. Credentials must be sent as the PLAID-CLIENT-ID header (it isolates callers; body-only client_id/secret answers INVALID_API_KEYS) and the secret is not checked. A fresh client already owns one seeded Item (access token access-sandbox-5e1d2c3b-seed-4a6b-8c7d-000000000001); the literal 'string' (the conformance sampler's stand-in) is accepted as that Item's access token and as a seeded public token. Institution ids shaped ins_N are checked against 5 seeded sandbox institutions (any other id is accepted). An unrecognised transactions cursor restarts from the first page; modified/removed are always empty and balances are static. Webhooks are set via the sandbox public-token options.webhook or /item/webhook/update (not copied from link tokens), are delivered to every Item of the client that has a webhook URL, and are unsigned: Plaid signs with an ES256 JWT (Plaid-Verification) verified against keys from /webhook_verification_key/get, which a shared-secret signer cannot reproduce.
MaxoPerf is not affiliated with, endorsed by, or sponsored by Plaid Inc. Plaid is a trademark of its owner.