# Quickstart (/developers/connected-accounts/quickstart)



You'll need a platform store to create and manage connected accounts.

For access and eligibility, contact support at [support@pandabase.io](mailto:support@pandabase.io).

This feature is intended for platforms processing payments on behalf of other users.

## Integration overview [#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-accounts
```

## Creating a connected account [#creating-a-connected-account]

Use this endpoint to create a connected account under your platform.

Before you start:

* The user must not already have a Pandabase account
* You can request supported capabilities during creation (for example: payments and payouts)

### Request [#request]

**Endpoint:**

```
POST https://api.pandabase.io/v3/stores/[store_id]/connected-accounts
```

**Example cURL:**

```sh
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 [#response]

```json
{
  "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 [#notes]

* The `onboarding_link` should be shared with the user to complete setup.
* Capability eligibility may depend on compliance checks.
* Keep your API key on your server. Never expose it in client-side code.
