marketplace

POST /v1/marketplace/listings/{listing_id}/managed-sale

Buy the managed sale for your own listing (a flat fee; our deal desk takes it from there).

All marketplace endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The endpoint checks billing.payment.manage; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/marketplace/listings/{listing_id}/managed-sale \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

s1014 L69 (docs/1068 §9e). Needs billing.payment.manage on the seller organisation. Wallet credit or a stored mandate settles it at once (201); with neither, 422 refusal.marketplaceManagedSale.payment carries the order's payment step to pay in place (Q225) and the purchase waits — buying again for the same listing resumes it. Paid, it reaches the deal desk queue as a managed_sale case. Refunds follow the add-on refund rules (docs/26); a refund closes the case. 422 codes: unavailable (not launched for this organisation), notBusiness, listingClosed, noPrice, fxUnavailable, dealDeskInstead, alreadyBought, declined.

Parameters

NameTypeRequiredWhat it is
listing_id (path)stringYes—

Request body

NameTypeRequiredWhat it is
currencystringNoThe currency the price was quoted in.
gatewaystringNoThe payment rail the customer chose.

Response

NameTypeRequiredWhat it is
offeredbooleanYes—
priceobjectYes—
eligiblebooleanYes—
reasonobjectYes—
deal_desk_from_usd_minorintegerYesThe free deal desk's threshold in US cents.
purchaseobjectYes—
purchase_idstringYes—
statusstringYes—

Errors this endpoint can return

400 · 401 · 404 · 422