Stripe node question

So I am looking at getting the status of a stripe payment directly from the stripe api to verify that the data supplied by my form is correct and that payment information hasn’t been injected into the form.

Ultimately I want to send a GET /v2/payments/{payment_id} to stripe and then parse the JSON.

My question is quite simple…is this supported in the stripe node. I have seen a get a charge section but im not sure if this is the same thing.

The n8n Stripe node does support retrieving a charge using “Get” under the Charge resource — but you are right to be suspicious about whether “Charge” and /v2/payments/{payment_id} are the same thing.

Short answer: They are not quite the same.

  • The Stripe node’s “Get a charge” uses the /v1/charges/{charge_id} endpoint — that’s the legacy Charges API
  • /v2/payments/{payment_id} is from Stripe’s newer Payments API (part of their v2 surface, currently in beta/limited availability)

For most standard payment flows (card charges, Stripe Checkout, PaymentIntents), the charge ID and payment intent ID are different objects. If you created a payment via PaymentIntent (which is the recommended approach now), you would want to look at /v1/payment_intents/{payment_intent_id} instead of /v1/charges.

To verify payment status in n8n:

  1. Use the HTTP Request node with your Stripe secret key as a Bearer token header
  2. Hit GET https://api.stripe.com/v1/payment_intents/{{payment_intent_id}}
  3. Parse the status field — look for succeeded, requires_payment_method, canceled, etc.

The Stripe node’s built-in “Get a charge” operation will work for older charge-based flows, but for modern PaymentIntent-based flows you will need the HTTP Request node. The JSON structure is well-documented and easy to parse with a Set node afterward.

On the injection concern: Validating server-side by fetching the payment directly from Stripe (not trusting form data) is exactly the right approach. The pattern is: take the payment_intent_id from your form, call Stripe’s API with your secret key, and compare the amount/status against what you expect.

1 Like

Thank you so much. I am new to n8n and have had a 20 year break from programming so im a bit rusty. N8N is such a wonderful tool. Thanks for your help. Really appreciated.