Capture subscription payment
documentedCapture funds for an active subscription.
POST /v1/billing/subscriptions/{subscription_id}/captureSubscriptionsno 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/v1/billing/subscriptions/{{$subscription_id}}/capture" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "PayPal-Request-Id: {{$paypal_request_id}}" \
-d '{"note": "{{$note}}", "capture_type": "{{$capture_type}}", "amount": {"currency_code": "{{$currency_code}}", "value": "{{$amount_value}}"}}'