Update Harvest Threshold

Update the CEO-configured USD harvest threshold.

HARVEST_THRESHOLD_CONFIG v1.0 (MP #46). Valid range: HARVEST_THRESHOLD_MIN_USD (0.00) to HARVEST_THRESHOLD_MAX_USD (10000.00) -- the upper bound is a sanity cap, not a business constraint. Requires the sandbox_token body field to match the CEO_PRODUCTION_TOKEN environment variable (same auth pattern as POST /config/credit-limit).

Status codes returned in the response body (HTTP 200 always): UPDATED -- threshold accepted and persisted. REJECTED_AUTH -- sandbox_token mismatch. REJECTED_RANGE -- new_threshold_usd out of [0.00 .. 10000.00]. ERROR -- malformed numeric value in new_threshold_usd.

post/config/harvest-threshold

Request

  • Base URL: https://api.merchant-0.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.merchant-0.com/config/harvest-threshold
  • Auth: none declared

Request body

new_threshold_usdstring required
sandbox_tokenstring required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.