Sign in

Refund order

documented

Refund a completed order (optionally cancelling a subscription at the gateway).

POST /api/v1/orders/{order_id}/refundOrdersno implementation yet0 runs
No 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://{{SENDOWL_API_KEY}}:{{SENDOWL_SECRET}}@api.sendowl.com/api/v1/orders/{{$order_id}}/refund" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"amount": "{{$amount}}", "cancel_subscription": {{$cancel_subscription}}, "revoke_access": {{$revoke_access}}}'