Sign in

Attach payment to invoice

documented

Attach a payment to an invoice.

POST /v1/invoices/{id}/attach_paymentBillingno 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.stripe.com/v1/invoices/{{$invoice_id}}/attach_payment\" \
  -X POST \
  -u \"{{STRIPE_API_KEY}}:\" \
  -H \"Accept: application/json\" \
  -H \"Content-Type: application/json\" \
  -d \"{\\"payment_intent\\": \\\"{{$payment_intent}}\\\", \\\"expand\\": [\\"payments\\"]}\" \
# Sources: Stripe API Reference - Attach a payment to an Invoice (turn0search0) and Invoices API Reference (turn0search1)