Approve a parked order — submits it to the engine (0.14.0).
POST/v1/orders/pending/:pending_id/approve
Claims the pending row, submits the stored order on the account (attributed to the agent's credential) and returns the decision with the engine outcome. The deciding credential must have approval_mode: auto.
Request
Responses
- 200
- 401
- 403
- 404
- 409
Decision recorded; order carries the engine outcome (which may itself be rejected).
Missing or invalid Authorization header.
approver_not_allowed — the deciding credential is itself require_human; or the account / entitlement rules of POST /v1/orders.
The named resource does not exist (or belongs to another account).
pending_already_decided or pending_expired.