Creates a payment link on a connected seller's account, with your marketplace commission attached. The buyer pays the seller and sees the seller's name. Mamo moves your commission from the seller's balance to yours; see Seller-led marketplace for how the commission is calculated and when it moves.
The seller must have accepted your connection request. Send their seller.identifier from List marketplace connections as seller_identifier.
The body takes the same fields as Create payment link (title, amount, return_url, external_id and so on), plus seller_identifier. payouts_share works differently from a recipient split: it sets your commission, you are always its recipient, and recipient_id and reason are ignored. Send at most one of payouts_share.percentage_to_recipient and payouts_share.amount_to_recipient. Omit payouts_share for a link with no commission.
The link belongs to the seller, so it is listed on the seller's account, not yours. The seller can't change its payouts_share: an Update payment link call that sends payouts_share or payout_shares returns 422 with The payouts share of a marketplace link can't be changed.
Errors
403 FORBIDDEN_ACCESS: Mamo hasn't enabled the seller-led marketplace model on your account.404 RECORD_NOT_FOUND: you have noacceptedconnection with thisseller_identifier.422 VALIDATION_ERROR:seller_identifiermissing, both commission fields sent, a percentage outside 0 to 100, or an amount of 0 or less. The error texts are inerrors, andmessagesis["See errors"].422 VALIDATION_ERRORfor an invalid payment link field, such as a missingtitleor an unsupported currency. These are checked against the seller's account after the commission, and the error texts are inmessages, with noerrorskey.