Description
SYNCRO's SDK and webhook system require external developers to understand the API. Currently there is no public documentation. A developer portal would enable third-party integrations, accelerate SDK adoption, and serve as a reference for the SYNCRO team itself.
Feature Scope
Documentation Site
Use Mintlify or Docusaurus to create a documentation site at docs.syncro.app:
Sections
Getting Started
- What is SYNCRO?
- Quickstart: add your first subscription via API in 5 minutes
- Authentication (Bearer token, API keys)
- Base URL and environments
API Reference
- Auto-generated from OpenAPI spec (once Swagger is added — see related issue)
- Interactive: try API calls directly from docs
- Code examples in TypeScript, Python, cURL
SDK Reference
import { SyncroSDK } from '@syncro/sdk';
const syncro = new SyncroSDK({
apiKey: 'sk_your_api_key',
baseUrl: 'https://api.syncro.app',
});
const subscription = await syncro.createSubscription({
name: 'Netflix',
price: 17.99,
currency: 'USD',
billingCycle: 'monthly',
nextRenewalDate: '2025-04-15',
});
Webhooks Guide
- Event types reference
- How to verify webhook signatures
- Sample code for handling each event type
Soroban Contract Reference
- Contract addresses (testnet, mainnet)
- Function signatures and parameters
- Event types emitted
- How to verify subscription data on-chain
Guides
- "Track subscriptions for your team"
- "Build a subscription tracker with SYNCRO SDK"
- "Verify subscription data on Stellar Explorer"
Developer Portal Features
- API key management (see related issue)
- Webhook testing console
- API request logs (last 100 requests)
- Sandbox environment
Implementation
# Using Mintlify
npm install -g mintlify
mintlify init # creates docs/ directory
Acceptance Criteria
Description
SYNCRO's SDK and webhook system require external developers to understand the API. Currently there is no public documentation. A developer portal would enable third-party integrations, accelerate SDK adoption, and serve as a reference for the SYNCRO team itself.
Feature Scope
Documentation Site
Use Mintlify or Docusaurus to create a documentation site at
docs.syncro.app:Sections
Getting Started
API Reference
SDK Reference
Webhooks Guide
Soroban Contract Reference
Guides
Developer Portal Features
Implementation
Acceptance Criteria
docs.syncro.app