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).
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
| Name | Type | Required | What it is |
|---|---|---|---|
listing_id (path) | string | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
currency | string | No | The currency the price was quoted in. |
gateway | string | No | The payment rail the customer chose. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
offered | boolean | Yes | — |
price | object | Yes | — |
eligible | boolean | Yes | — |
reason | object | Yes | — |
deal_desk_from_usd_minor | integer | Yes | The free deal desk's threshold in US cents. |
purchase | object | Yes | — |
purchase_id | string | Yes | — |
status | string | Yes | — |
Errors this endpoint can return
400 · 401 · 404 · 422