Skip to product information

n8n Stripe Test Refund Workflow with Allowly Approval

n8n Stripe Test Refund Workflow with Allowly Approval

 (200+Reviews)
Regular price £44.99
Regular price £44.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Stripe Test Refund Workflow with Allowly Approval

n8n Stripe Test Refund Workflow with Allowly Approval

Regular price £44.99
Regular price £44.99 Sale price
SAVE Sold out

Approve a Stripe test refund with Allowly—then generate proof evidence

This n8n workflow runs a Stripe test-mode refund only after an Allowly policy check permits it—or after a reviewer approval is confirmed through a secure callback. It then creates the refund in Stripe and retrieves the Allowly decision receipt as audit evidence.

What this workflow does

  • Builds a structured refund request (manual start) including: Allowly authorization ID, Stripe PaymentIntent ID, amount, currency, reason, and a frozen resource string to bind the approval context.
  • Validates request format, then reads the Stripe PaymentIntent via the Stripe API to confirm it is a succeeded test payment with sufficient captured funds.
  • Requests Allowly authorization using the frozen resource and refund context via a refund.create decision check.
  • Handles Allowly outcomes:
    • If Allowly allows immediately, it proceeds.
    • If confirmation/escalation is required, it waits for an authenticated HTTP callback, resolves the confirmation/escalation in Allowly, then performs a final Allowly re-check.
  • Creates the Stripe refund (test-mode) using a Stripe idempotency key tied to the refund request ID, then validates the refund response.
  • Fetches the Allowly receipt via the Allowly API to export refund evidence (marked pending if not yet signed).

Use cases

  • Testing refund governance in a Stripe test environment with policy enforcement.
  • Supporting a review-based approval flow where refunds are only executed after Allowly decisions (including escalation).
  • Producing audit-ready evidence by exporting an Allowly receipt alongside each refund.

Technical details

  • n8n nodes / logic: if, set, code, wait, n8n-nodes-allowlyallowly, sticky note
  • Integrations: Stripe API (PaymentIntent verification, test-mode refund creation) and Allowly API (refund.create decision + receipt retrieval)
  • Setup requirements: add Stripe test credentials and Allowly API credentials, and use the same Stripe credential for both Stripe HTTP requests; configure Allowly nodes and the receipt-fetching HTTP request.
View full details