Refund external order
documentedRecord a refund for an external order.
POST /external_orders/{id}/transactions/refundExternal Ordersno 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://api.thinkific.com/api/public/v1/external_orders/{{$id}}/transactions/refund" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"amount": {{$amount}}, "currency": "{{$currency}}", "reason": "{{$reason}}", "notes": "{{$notes}}"}'