Developer contract
Roadmap
The platform manages sales, domain registration, and payment. Your template app, database, and panel stay with you.
1. Application and approval
- /is-ortakligi to apply.
- After approval, add a product from the /ortak panel.
- Submit the product for review; the platform attaches the payment variant and publishes it.
2. Setup notification
After a sale, the platform sends a signed POST to the URL you configured. You create the customer record and add the domain to your hosting.
POST /senin-kurulum-adresin
Headers:
Content-Type: application/json
X-Tunahanipek-Timestamp: <unix_saniye>
X-Tunahanipek-Signature: <hmac_sha256_hex>
X-Tunahanipek-Event-Id: <benzersiz_id>
Body:
{
"event": "tenant.provisioned",
"event_id": "...",
"tenant_id": "...",
"slug": "firma",
"primary_host": "firma.ornek.com.tr",
"catalog_product_id": "...",
"owner_email": "musteri@ornek.com",
"partner_id": "..."
}Signature: HMAC-SHA256(secret_key, "timestamp.body") — hex. Timestamp ±5 minutes. Process each event_id once. Success response: HTTP 200; optional {"panel_url":"https://..."}.
3. DNS
The platform points the customer subdomain to the CNAME target you provide (default Vercel DNS). You add the domain to your own project.
4. Commission
Customer payment − payment provider fees = net. Net × platform commission = platform share. The remainder is credited to your balance and paid via IBAN.
5. Checklist
- Multi-customer (Host → record) support
- Setup notification + signature verification
- Live preview URL
- Panel / settings / IBAN
- Idempotent event_id handling
In-repo details: docs/partner-byo-contract.md