Pay invoice
documentedPay an invoice.
POST /v1/invoices/{id}/payBillingno 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.stripe.com/v1/invoices/{{$invoice_id}}/pay" \
-X POST \
-H "Authorization: Bearer {{STRIPE_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"forgive": {{$forgive}}, "mandate": "{{$mandate}}", "off_session": {{$off_session}}, "paid_out_of_band": {{$paid_out_of_band}}, "payment_method": "{{$payment_method}}", "source": "{{$source}}"}'