API Reference
FinKYC REST API — v1.0.0
Authorization: Bearer eyJhbGci...X-API-Key: fk_live_...Update scopes via PUT /v1/settings/api-keys/<prefix>/scopes
Enable sandbox mode to isolate test data. Sandbox applications are flagged with "sandbox": true in their metadata and can be bulk-deleted without affecting production records.
# Enable sandbox mode
POST /v1/sandbox/enable
# Reset sandbox data
DELETE /v1/sandbox/data
# Disable sandbox mode
POST /v1/sandbox/disable
# Install generator
npm install -g @openapitools/openapi-generator-cli
# Generate TypeScript + Python SDKs
./scripts/generate_sdk.sh all
# TypeScript only
./scripts/generate_sdk.sh typescript
# Python only
./scripts/generate_sdk.sh python
SDKs are generated in the sdk/ directory (git-ignored). Set FINKYC_API_URL to point to a non-local backend.
TypeScript SDK usage example:
// Import generated client
import { ApplicationsApi, Configuration } from '@finaya/finkyc-sdk';
const config = new Configuration({ basePath: 'https://api.finaya.com', accessToken: token });
const api = new ApplicationsApi(config);
const apps = await api.listApplications({ page: 1 });