You’ll need a platform store to create and manage connected accounts.
For access and eligibility, contact support at support@pandabase.io.
This feature is intended for platforms processing payments on behalf of other users.
Integration overview
If you already have a platform store, you can start integrating using the Platform API.
All connected account operations are handled through a single endpoint:
https://api.pandabase.io/v3/stores/[store_id]/connected-accountsCreating a connected account
Use this endpoint to create a connected account under your platform.
Important notes:
- The user must not already have an existing Pandabase account
- You can request supported capabilities during creation (for example: payments and payouts)
Request
Endpoint:
POST https://api.pandabase.io/v3/stores/[store_id]/connected-accountsExample cURL:
curl -X POST 'https://api.pandabase.io/v3/stores/[store_id]/connected-accounts' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -d '{ "email": "their-email@example.com", "capabilities": ["payments", "payouts"], "metadata": { "partner_id": "optional-partner-id" } }'Response
{ "ok": true, "data": { "type": "connected_account", "id": "c_acc_123456", "capabilities": [ { "type": "payments", "eligible": true }, { "type": "payouts", "eligible": true } ], "onboarding_link": "https://self.pandabase.io/connected-accounts/onboarding" }}Notes
- The
onboarding_linkshould be shared with the user to complete setup. - Capability eligibility may depend on compliance checks.
- Ensure you securely store your API key and never expose it in client-side code.