Marketplace mode lets your organization collect fees on payments routed through Meridian while sending the remaining payout to a separate recipient wallet.Documentation Index
Fetch the complete documentation index at: https://docs.mrdn.finance/llms.txt
Use this file to discover all available pages before exploring further.

Enable marketplace mode
Older internal messages may call this “Platform” mode. In Command Centre the
setting is labeled Marketplace.
Update your x402 payment requirements
KeeppayTo pointed at the Meridian facilitator address for the target network.
Use extra.creditedRecipient to tell Meridian which wallet should receive the
net payout.
Below is a paymentRequirements example for the recommended Permit2-based MegaETH flow:
How payouts work
payToremains the Meridian facilitator, not the seller wallet.- On MegaETH,
assetshould be the ERC-20 token address for the current Permit2 flow. - On MegaETH,
extra.nameandextra.versionshould describe the token used in the Permit2 flow. extra.creditedRecipientreceives the payment amount remaining after fees.- Your marketplace fee accrues inside the facilitator contract as a platform balance for your organization.
- Fees do not automatically land in your wallet. Withdraw them from the Settings page using Withdraw Marketplace Fees, or withdraw them directly on-chain from the proxy contract.
500 bps, Meridian records 5% of each payment as
marketplace fees. In the simple case where no other fee applies, the remaining
95% is settled to creditedRecipient.
Withdraw marketplace fees on-chain
You can also withdraw accumulated marketplace fees directly from the Meridian proxy contract by calling:msg.sender, so it is not passed as a
function argument.