Marketplace
Update Merchant Payout
Update payout details for an existing sub-merchant.
PATCH
Documentation Index
Fetch the complete documentation index at: https://docs.khaime.com/llms.txt
Use this file to discover all available pages before exploring further.
Update Merchant Payout
Update payout settings for a sub-merchant that already has payout configured. Use this to change bank account details or re-initiate onboarding for international merchants.This endpoint is for updating existing payout configurations. To set up payout for the first time, use POST Setup Merchant Payout.
Data Storage
Updated bank details are stored in the KycSubmissions table, which is the single source of truth for all KYC and payout information.Path Parameters
The ID of the sub-merchant to update payout for.
Request Body
For African Countries (NG, GH, ZA, KE)
Update any of the bank account details. All provided fields are stored in KycSubmissions:New bank name for the settlement bank. Must match a name from Get Supported Payout Banks.
New bank account number. Stored as
KycSubmissions.bank_account_number.New account holder name. Stored as
KycSubmissions.bank_account_name.For Other Countries (US, GB, CA, EU, etc.)
No request body needed. The endpoint returns onboarding credentials for the merchant to update their details directly via Stripe.Response
African Countries
Bank details are updated immediately in KycSubmissions:Other Countries
Returns onboarding credentials for the merchant to update their own details via Stripe:For international countries, payout details (bank accounts, identity verification) are managed through Stripe’s hosted onboarding flow. The merchant must complete this flow to update their information.
Where Data is Stored
| Updated Field | Storage Location |
|---|---|
settlement_bank | KycSubmissions.bank_name |
account_number | KycSubmissions.bank_account_number |
account_name | KycSubmissions.bank_account_name |
Important: Legacy fields in
Educatorportfolio (like educator_bank_name, educator_bank_account_number) are deprecated and no longer used. All bank details are stored in KycSubmissions.Error Codes
| Status | Error | Fix |
|---|---|---|
400 | At least one field must be provided | Include at least one field to update |
400 | Payout has not been set up for this merchant | Use POST to set up payout first |
400 | No payout account found | Use POST to set up payout first |
403 | This endpoint is restricted to marketplace operators | Your account must have marketplace mode enabled |
404 | Active merchant relationship not found | The merchant is not linked to your marketplace |
404 | Merchant portfolio not found | The merchant account doesn’t exist |
Related
- Setup Payout — initial payout configuration
- Get KYC Status — check current KYC and bank details
- Get Payout Banks — list of valid bank names
