Added

Seller-led marketplace: list connections and create payment links for sellers

A marketplace can now create payment links for sellers who have their own Mamo accounts, and earn a commission on each payment. This needs the seller-led marketplace model enabled on your account; see Seller-led marketplace.

  • GET /marketplace_connections lists your seller connections, with an optional status filter (pending or accepted). An accepted connection returns the seller's identifier and business_name.
  • POST /marketplace/links creates a payment link on a connected seller's account. It takes seller_identifier, the Create payment link fields, and your commission in payouts_share (percentage_to_recipient or amount_to_recipient, recipient_pays_fees, release_date).
  • POST /marketplace_connections is now documented. It emails the seller's admins a request to connect. It now returns 403 FORBIDDEN_ACCESS until the seller-led marketplace model is enabled on your account, and new connection identifiers start with CONN-.
  • PATCH /links/{id} returns 422 VALIDATION_ERROR when it sends payouts_share or payout_shares for a link a marketplace created.