Templates / Process Stripe refunds with Allowly approval and reviewer checks

Process Stripe refunds with Allowly approval and reviewer checks

Unknown

by Allowly · 2 views · created 2026-09-17 · Invoice Processing

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (8)

What it does

Quick overview This workflow runs a Stripe test-mode refund only after an Allowly policy check allows it or a reviewer approves it via a secure callback, then creates the refund in Stripe and fetches the Allowly decision receipt as evidence. How it works 1. Starts manually and builds a refund request containing the Allowly authorization ID, Stripe PaymentIntent ID, amount, currency, reason, and a frozen resource string for approval binding. 2. Validates the request format and reads the Stripe PaymentIntent via the Stripe API to ensure it is a succeeded test payment with sufficient captured funds. 3. Sends the frozen resource and context to Allowly for a refund.create decision check. 4. If Allowly allows immediately, proceeds; if Allowly requires confirmation or escalation, waits for an authenticated HTTP callback with an approval decision and resolves the confirmation/escalation in Allowly before re-checking for a final allow. 5. If the final decision is allow, creates the Stripe refund using an idempotency key tied to the refund request ID. 6. Validates the Stripe refund response and then retrieves the Allowly receipt via the Allowly API to export the refund evidence (marking it pending if not yet signed). Setup 1. Add Stripe API credentials for a Stripe test account and select the same credential for both Stripe HTTP requests. 2. Add Allowly API credentials and select them on all Allowly nodes and the receipt-fetching HTTP request. 3. Create and store an Allowly authorization ID, then replace authorizationId, paymentIntentId, and other fields in the refund request payload as needed (this template only supports USD with reason requestedbycustomer). 4. Configure the Wait for reviewer step to require header authentication, then copy its resume webhook URL and send POST reviews in the form {"approved": true|false, "resource": "<exact resource from the request"} within 4 minutes.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.