Approve one action the CS agent (or an app's remedy proposal) proposed and is holding for approval — a refund, cancel, r
Changed onApprove one action the CS agent (or an app's remedy proposal) proposed and is holding for approval — a refund, cancel, return, replacement, discount code or order change. Approving moves money or goods through the CS executor with the store's own caps, the per-order lock and the settlement ledger, exactly as the Approve button in the inbox. The amount is the one on the proposal (read from Magistry, never from this call). This proposes an approval card: it executes when the merchant approves it, or at once where this connection holds a write grant covering it AND the amount is within both the grant's per-call limit and the store's own refund ceiling. The result says which (status: proposed or executed). The executor can still refuse it on a cap; the store's refusal list shows why. Requires an idempotency_key.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopescs:write
Headers
Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
The evaluation_id of the action awaiting approval.
Required. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning