Void authorized payment
documentedVoid an authorization (if not yet captured).
POST /v2/payments/authorizations/{authorization_id}/voidPaymentsno 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-m.sandbox.paypal.com/v2/payments/authorizations/{{$authorization_id}}/void" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"reason": "{{$reason}}"}'