/holds/{holdId}/completeThe store closes an accepted hold as sold at the final price. That records the seller fee and asks the buyer to confirm the purchase.
collector.completeHold()store:holds:writeIdempotency-KeyX-Request-IdholdIdstring (uuid)requiredobject
finalPriceCentsintegerrequired0–2000000000
200OKThe sold hold, and the fee it recorded.
object
feeobject or nullrequiredfee_centsintegerrequiredfee_bpsintegerrequiredcurrencystringrequiredinvalid_requestinvalid_jsoninvalid_idempotency_key
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_idempotency_key: The Idempotency-Key isn’t 1–255 visible ASCII characters.
unauthorized: Not signed in (no session or token, or an expired one).
forbidden: The caller’s side can’t do this (only the store answers a request…).
not_found: Nothing at that address.
idempotency_in_progressinvalid_state
idempotency_in_progress: The first request with this key is still running.
invalid_state: The hold isn’t in a state that allows this (already answered, closed…).
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
idempotency_key_reused: This key was used for a different request.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).