Skip to main content
Sellers on your marketplace are represented as connected accounts. Use marketplace.sellers to create connected accounts, retrieve their onboarding state, and update payout-related account settings.

Create a seller account

Call marketplace.sellers.createAccount(accountData) with the seller’s business details. The MPCreateAccountDatas type includes email, return URL, branding, address, and optional payout settings.
Store the returned accountId. You will use it with marketplace.sellers.retrieveConnectedAccount(), marketplace.sellers.updateConnectedAccount(), and marketplace.transfers.sendFunds().

Retrieve a seller account

Retrieve a connected account profile with retrieveConnectedAccount(accountId). This is useful for displaying seller details in your dashboard or checking onboarding and acquiring status.

Update a seller account

Use updateConnectedAccount(accountId, options) to update mutable connected-account attributes. MPUpdateConnectedAccountOptions currently focuses on payout settings.

Payout settings

Payout configuration is part of the connected-account create or update payload. The SDK exposes these Marketplace payout types:

Seller onboarding

createAccount() returns an invitation object with a redirectUrl. Send this URL to the seller so they can complete VivaWallet onboarding.
Track completion by polling marketplace.sellers.retrieveConnectedAccount(accountId) and checking fields such as verified and acquiringEnabled, or by listening to connected-account webhook events via marketplace.webhooks.