Sign in

Refund authorized payment

documented

Refund an authorized payment.

POST /v2/payments/authorizations/{authorization_id}/refundPaymentsno 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://api-m.paypal.com/v2/payments/authorizations/{{$authorization_id}}/refund" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "PayPal-Request-Id: {{$request_id}}" \
  -d '{"custom_id": "{{$custom_id}}", "invoice_id": "{{$invoice_id}}", "note_to_payer": "{{$note_to_payer}}", "amount": {"currency_code": "{{$currency_code}}", "value": "{{$amount}}"}}'
Refund authorized payment · PayPal · OpenIntegrations