sk_test_… or sk_live_…). A test key only sees test data.
List operations return up to limit items (100 by default). When a response has a last cursor there is another page: pass JSON.stringify(last) as start on the next call. On mid-insights.listMidInsights the cursor is already a string, so pass it unchanged.
The plugin does not link cards. Cards are linked with Fidel’s own SDKs, which keep card numbers off your servers, and the plugin works with cards once they are linked.
What you get:
- 55 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the Fidel API key before the first call: More: API Key
pnpm corsair setup --plugin=fidel --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
List programsWhat’s next
API reference
Every
fidel.api.* operation with input and output types.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.