Capture an order
documentedCapture the funds of an authorised order (full or partial).
POST /orders/{order_id}/captureOrdersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://merchant.revolut.com/api/orders/{{$order_id}}/capture" \
-X POST \
-H "Authorization: Bearer {{REVOLUT_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Revolut-Api-Version: {{$api_version}}" \
-d '{"amount": {{$capture_amount}}}'