The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
---
title: "Create Payout Account"
api: "POST /vendor/payout-accounts"
description: "Create the seller's payout account with the configured provider."
---
Creates a payout account for the current seller through the configured payout provider (e.g. Stripe Connect).
## Body parameters
<ParamField body="data" type="object">
Provider-specific data forwarded when creating the account (e.g. `{ "country": "US" }` for Stripe Connect). Defaults to `{}`.
</ParamField>
<ParamField body="context" type="object">
Additional context forwarded to the provider, such as an `idempotency_key`.
</ParamField>
## Response
<ResponseField name="payout_account" type="object">
<Expandable title="properties">
<ResponseField name="id" type="string">The payout account's ID.</ResponseField>
<ResponseField name="status" type="enum">One of `pending`, `active`, `restricted`, `rejected`.</ResponseField>
<ResponseField name="data" type="object">Provider-specific account data.</ResponseField>
<ResponseField name="context" type="object">The context used to create the account.</ResponseField>
<ResponseField name="onboarding" type="object">The onboarding record, once created.</ResponseField>
<ResponseField name="created_at" type="string">Creation timestamp.</ResponseField>
</Expandable>
</ResponseField>
<RequestExample>
```bash cURL
curl -X POST 'http://localhost:9000/vendor/payout-accounts' \
-H 'Authorization: Bearer <token>' \
-H 'x-seller-id: <seller_id>' \
-H 'Content-Type: application/json' \
-d '{"data": {"country": "US"}}'
```
```ts JS Client
const { payout_account } = await client.vendor.payoutAccounts.mutate({
data: { country: "US" },
})
```
</RequestExample>
<ResponseExample>
```json 201
{
"payout_account": {
"id": "pacc_01HXYZ",
"status": "pending",
"data": { "id": "acct_1Q2w3E4r5T6y7U8i" },
"created_at": "2026-01-15T10:00:00.000Z"
}
}
```
</ResponseExample>