- Paid plan. StackGo’s API and webhooks come with the Professional plan and up; trial accounts get no API access. Create the key as a user with the developer permission (Account, then Users). Keys start with
key-and carry fixed scopes:verification.create,verification.infoandverification.image. - Calls that spend credit or contact people.
verification.create,sms,kybandtranche2each start a check paid from the plan’s credit.smstexts the person, andcreateemails them an invitation when the body hasemailUser: "Yes". All four are marked destructive. - Open request and response bodies. StackGo has not published field-level schemas yet, so request bodies are sent as given and results come back as plain objects. The quickstart’s fields are
firstName,lastName,email,emailUser,type(kyc),triggeredBy(direct) andactive. - Images.
verification.imagedownloads a captured document or selfie and returns it as a file (base64 content, type and size). - Webhook. StackGo sends
verification.decisionthrough Svix. Store the endpoint’s signing secret (whsec_…) as the webhook signature; deliveries without a valid signature are refused. - No local data. Every call returns live data from StackGo.
- 6 typed API operations
- 1 incoming webhook event types
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 IdentityCheck API key before the first call: More: API Key
pnpm corsair setup --plugin=identitycheck --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
verification.get
verification.create
Webhooks
This plugin registers 1 webhook event type. Configure the provider to POST to your Corsair HTTP handler, then usewebhookHooks on the plugin factory.
See Webhooks for every event path and payload shape, and Webhooks concept for routing.
What’s next
API reference
Every
identitycheck.api.* operation with input and output types.Webhooks
Event paths, payloads, and
webhookHooks examples.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.