Skip to main content
Use Fidel through Corsair: one client, typed API calls. The API key is your Fidel secret key (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
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

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 programs
Create a brand
See the full list on the API page.

What’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.