Approve or reject the exact retained rate sheet as a different treasury approver
/ledger/fx/rate-sheets/{id}/decisionsA treasury approver with ledger:treasury:write and operations:approve, authenticated within five minutes and different from the maker, decides the exact retained content_sha256 (403 for the maker, 409 for a changed digest). The schema refuses a maker's decision independently. A business date has at most one approved, unwithdrawn closing sheet; a customer sheet cannot be approved after its validity ends. Publishes ledger.fx_rate_sheet.approved or rejected.
Path parameters
idstringRequiredHeaders
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
approvebooleanRequiredcontent_sha256stringRequiredevidencestringRequiredReturns
200 OK
actorstringRequiredatstring · date-timeRequiredbusiness_datestring · dateRequiredA business date, YYYY-MM-DD
content_sha256stringRequireddaily_customer_limit_usd_minorintegerOptionaldecisionobject or nullOptional5 child attributes
actorstringRequiredapprovebooleanRequiredatstring · date-timeRequiredcontent_sha256stringRequiredevidencestringRequiredevidencestringRequiredidstringRequiredlinesarray of objectsRequired5 child attributes
currency_codestringRequiredcustomer_buy_spread_bpsintegerOptionalThe customer buys the currency: ask = mid × (1 + bps/10000)
customer_sell_spread_bpsintegerOptionalThe customer sells the currency: bid = mid × (1 − bps/10000)
max_conversion_usd_minorintegerOptionalusd_per_foreign_majorstringRequiredpolicy_referencestringRequiredpurposestringRequiredrate_snapshot_idstringRequiredrate_snapshot_sha256stringRequiredstatusstringRequiredProposed, approved or rejected
valid_fromstring · date-time or nullOptionalvalid_untilstring · date-time or nullOptionalErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503