Retrieve experiment cost model
The merchant’s real contracted payment-processing and carrier rates, which is PER-ORDER MARGIN and the most commercially sensitive figure this API serves. It is why read_experiments is a grant of its own rather than part of read_products: a key granted the catalogue has not been granted the markup on it. Read-only, permanently. Rewriting a rate silently restates every profit figure in every result snapshot the merchant reads back, with nothing erroring anywhere, so no write_experiments scope exists to be minted. payment_fee_fixed_minor is MINOR UNITS AND THE TABLE CARRIES NO CURRENCY COLUMN: the platform applies the same flat figure to an order in any currency, so the store’s default currency is the only defensible reading. A store that has never written a cost model answers 200 with every rate at 0 and updated_at null, which is the platform’s own fail-safe: profit is then exactly the pre-cost figure rather than a wrong cost subtracted.
Authorizations
A secret API key. Publishable keys cannot reach this API. A key may carry an expiry, and an expired key is refused exactly like an unknown one, with a 401 that names no reason; check the key's expires_at in the dashboard rather than inferring it from a response. When a merchant rolls a key's secret they choose a grace window of up to 3 days, and for its duration BOTH the new secret and the one it replaced authenticate, so an integration moves over on its own deploy schedule instead of at the instant the button is pressed. Move before the window closes: after it, the old secret is refused. Nothing else about this contract moves with a roll. The key keeps its id and its scopes, so the only thing an integration updates is the credential itself.
Response
Success
