marketplace.sellers to create connected accounts, retrieve their onboarding state, and update payout-related account settings.
Create a seller account
Callmarketplace.sellers.createAccount(accountData) with the seller’s business details. The MPCreateAccountDatas type includes email, return URL, branding, address, and optional payout settings.
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 withretrieveConnectedAccount(accountId). This is useful for displaying seller details in your dashboard or checking onboarding and acquiring status.
Update a seller account
UseupdateConnectedAccount(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.
marketplace.sellers.retrieveConnectedAccount(accountId) and checking fields such as verified and acquiringEnabled, or by listening to connected-account webhook events via marketplace.webhooks.