อ้างอิง App Manifest
อ้างอิง App Manifest
ไฟล์ stripe-app.json คือไฟล์กำหนดค่าของ Stripe App กำหนด app identity, permissions, UI viewports, webhook endpoints และ security policies
Schema ครบถ้วน
{ "id": "com.your-company.app-name", "version": "1.0.0", "name": "ชื่อแอปของคุณ", "icon": "./assets/icon.png", "permissions": [], "app_backend": { "webhooks": [] }, "ui_extension": { "views": [], "actions": [], "content_security_policy": {} }, "post_install_action": { "type": "external", "url": "https://your-app.com/stripe/onboarding" }}ตัวอย่างครบถ้วนสำหรับการผสานรวม Tajo Brevo
{ "id": "com.tajo.brevo-integration", "version": "1.0.0", "name": "Tajo Brevo Integration", "icon": "./assets/icon.png", "permissions": [ { "permission": "customer_read", "purpose": "Sync customer profiles to Brevo contacts" }, { "permission": "payment_intents_read", "purpose": "Track payment events for Brevo automation triggers" } ], "app_backend": { "webhooks": [ { "endpoint_uri": "https://api.tajo.io/stripe/webhooks", "filter_types": [ "customer.created", "payment_intent.succeeded", "customer.subscription.created" ] } ] }, "ui_extension": { "views": [ { "viewport": "stripe.dashboard.customer.detail", "component": "CustomerBrevoSync" } ], "actions": [], "content_security_policy": { "connect-src": ["https://api.tajo.io"], "purpose": "Connect to Tajo API for Brevo synchronization" } }, "post_install_action": { "type": "external", "url": "https://app.tajo.io/stripe/onboarding" }}ขั้นตอนถัดไป
- Permissions Reference, เลือก permissions ที่ถูกต้อง
- Viewports Reference, ตำแหน่งที่มีใน Dashboard