{"product_id":"n8n-stripe-test-refund-workflow-with-allowly-approval","title":"n8n Stripe Test Refund Workflow with Allowly Approval","description":"\u003ch3\u003eApprove a Stripe test refund with Allowly—then generate proof evidence\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs a \u003cstrong\u003eStripe test-mode refund\u003c\/strong\u003e only after an \u003cstrong\u003eAllowly policy check\u003c\/strong\u003e permits it—or after a reviewer approval is confirmed through a secure callback. It then creates the refund in Stripe and retrieves the \u003cstrong\u003eAllowly decision receipt\u003c\/strong\u003e as audit evidence.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a structured refund request\u003c\/strong\u003e (manual start) including: Allowly authorization ID, Stripe PaymentIntent ID, amount, currency, reason, and a \u003cem\u003efrozen resource string\u003c\/em\u003e to bind the approval context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates request format\u003c\/strong\u003e, then reads the Stripe \u003cstrong\u003ePaymentIntent\u003c\/strong\u003e via the Stripe API to confirm it is a \u003cstrong\u003esucceeded test payment\u003c\/strong\u003e with sufficient captured funds.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequests Allowly authorization\u003c\/strong\u003e using the frozen resource and refund context via a \u003cem\u003erefund.create decision\u003c\/em\u003e check.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles Allowly outcomes\u003c\/strong\u003e:\n    \u003cul\u003e\n      \u003cli\u003eIf Allowly allows immediately, it proceeds.\u003c\/li\u003e\n      \u003cli\u003eIf confirmation\/escalation is required, it waits for an \u003cstrong\u003eauthenticated HTTP callback\u003c\/strong\u003e, resolves the confirmation\/escalation in Allowly, then performs a final Allowly re-check.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates the Stripe refund\u003c\/strong\u003e (test-mode) using a Stripe \u003cstrong\u003eidempotency key tied to the refund request ID\u003c\/strong\u003e, then validates the refund response.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches the Allowly receipt\u003c\/strong\u003e via the Allowly API to export refund evidence (marked \u003cem\u003epending\u003c\/em\u003e if not yet signed).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTesting refund governance in a \u003cstrong\u003eStripe test environment\u003c\/strong\u003e with policy enforcement.\u003c\/li\u003e\n  \u003cli\u003eSupporting a \u003cstrong\u003ereview-based approval flow\u003c\/strong\u003e where refunds are only executed after Allowly decisions (including escalation).\u003c\/li\u003e\n  \u003cli\u003eProducing \u003cstrong\u003eaudit-ready evidence\u003c\/strong\u003e by exporting an Allowly receipt alongside each refund.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ logic:\u003c\/strong\u003e if, set, code, wait, n8n-nodes-allowlyallowly, sticky note\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e \u003cstrong\u003eStripe API\u003c\/strong\u003e (PaymentIntent verification, test-mode refund creation) and \u003cstrong\u003eAllowly API\u003c\/strong\u003e (refund.create decision + receipt retrieval)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup requirements:\u003c\/strong\u003e 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.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46058948886707,"sku":"N8N-19690","price":44.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/5CSpkprUqpE7gF2t6hQWa_rr5oHqBM.png?v=1789722517","url":"https:\/\/buyflowscripts.com\/products\/n8n-stripe-test-refund-workflow-with-allowly-approval","provider":"N8N Commerce","version":"1.0","type":"link"}