Recued
Menu
← Back to recipes

Reconcile a paid document refund

by recued-core v5 37 views

Use “Reconcile a paid document refund” in Recued. Owner-attended refund close for one order.

Complete workflow

Paid Document Fulfillment 11 pinned recipes

Use Paid Document Fulfillment in Recued for transactional offer, paid workflow, form response, and payment. It includes 10 ready-to-run workflows and 4 related packs in one install.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Use “Reconcile a paid document refund” in Recued. Owner-attended refund close for one order.

pack:paid-document-fulfillmentrecipe-role:reconcilerprovider-source-truthd-200
by recued-core pinned v5

Use “Start paid document fulfillment” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentform-response-templaterecipe-role:origindurable-coordinator
by recued-core pinned v22

Use “Reconcile document payments against Stripe” in Recued. Owner-attended payment sweep - the manual safety net under the webhook observer.

pack:paid-document-fulfillmentrecipe-role:reconcilerpayment-observerprovider-source-truth
by recued-core pinned v13

Use “Inspect a paid document dispute” in Recued. Owner-attended read-only inspection binding one Stripe Dispute to one order.

pack:paid-document-fulfillmentrecipe-role:inspectorprovider-source-truthd-200
by recued-core pinned v5

Use “Generate paid document” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:fulfillmentowner-attendedexact-artifact-generation
by recued-core pinned v11

Use “Review paid document artifacts” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:reviewowner-attendedchat-exposed
by recued-core pinned v12
Show all 11 recipes

Use “Approve and deliver paid document” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:deliveryowner-attendedexact-artifact-delivery
by recued-core pinned v11

Use “Reconcile paid document delivery” in Recued. Owner-attended mail-claim reconciliation for one order's two sends: the checkout-link mail (start) and the delivery mail (approve-deliver).

pack:paid-document-fulfillmentrecipe-role:reconcilermaild-200
by recued-core pinned v5

Use “Reject or cancel paid document” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:actionowner-attendedmanual-user-only
by recued-core pinned v5

Use “Close and archive a paid document fulfillment” in Recued. Owner-attended close for one order that never took money: draft, pricing, awaiting payment (verified unpaid at Stripe by a fresh read of its own session), or expired moves to cancelled. A session the provider reports paid refuses loudly - run the payment sweep instead.

pack:paid-document-fulfillmentrecipe-role:reconcilerlifecycled-200
by recued-core pinned v6
View pack details, dependencies, and permissions →
How it works 44 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (44 steps)
■ submission_id trim
Trim whitespace from setting submission id
■ submission_id_present compare
Check if submission id has data
■ refund_id trim
Trim whitespace from setting refund id
■ refund_id_prefix starts_with
Check if refund id starts with re_
■ refund_id_truncated truncate
Truncate refund id to a max length
■ refund_id_bounded compare
Check if refund id is one of refund id truncated
■ input_valid all
Check if all conditions are true
⚠ input_guard guard
Stop if input valid equals
◆ order_lookup core.seller.order.list
List seller order
■ order_present compare
Check if order lookup orders 0 exists
⚠ order_missing_guard guard
Stop if order present equals
■ already_refunded compare
Check if order lookup orders 0 phase is one of refunded
■ payment_recorded compare
Check if order lookup orders 0 provider payment id exists
■ reconcilable any
Check if any of the conditions are true
⚠ no_payment_guard guard
Stop if reconcilable equals
◆ refund_read recued-core.seller-stripe.refund.read
Read refund on seller stripe
skip: step.already_refunded equal true
■ refund_object_exact compare
Check if refund read result object is one of refund
■ refund_id_exact compare
Check if refund read result id is one of refund id
■ refund_succeeded compare
Check if refund read result status is one of succeeded
■ refund_payment_matches_order compare
Check if refund read result payment intent is one of order lookup orders 0 provider payment id
■ refund_proof_exact all
Check if all conditions are true
■ refund_proof_blocked all
Check if all conditions are true
⚠ refund_proof_guard guard
Stop if refund proof blocked equals
◆ payment_read recued-core.seller-stripe.payment.read
Read payment on seller stripe
skip: step.already_refunded equal true
■ payment_object_exact compare
Check if payment read result object is one of payment_intent
■ payment_id_exact compare
Check if payment read result id is one of order lookup orders 0 provider payment id
■ payment_succeeded compare
Check if payment read result status is one of succeeded
■ payment_workflow_exact compare
Check if payment read result metadata recued workflow key is one of order lookup orders 0 order key
■ payment_proof_exact all
Check if all conditions are true
■ payment_proof_blocked all
Check if all conditions are true
⚠ payment_proof_guard guard
Stop if payment proof blocked equals
■ full_refund_amount compare
Check if refund read result amount equals order lookup orders 0 amount minor
■ order_currency_lower lowercase
Convert order lookup orders 0 currency to lowercase
■ refund_currency_matches compare
Check if refund read result currency equals order currency lower
■ full_refund_blocked all
Check if all conditions are true
⚠ partial_refund_guard guard
Stop if full refund blocked equals
■ currency_blocked all
Check if all conditions are true
⚠ currency_guard guard
Stop if currency blocked equals
■ phase_eligible compare
Check if order lookup orders 0 phase is one of paid,complete,needs_owner,cancelled
■ phase_blocked all
Check if all conditions are true
⚠ phase_guard guard
Stop if phase blocked equals
◆ confirm_refund core.seller.order.confirm-refund
Confirm refund seller order
skip: step.already_refunded equal true
■ refund_outcome ternary
Apply ternary
■ reconciliation_notice template
Generate text from a template
▼
Output
text reconciliation_notice
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

refund id setting =
submission id setting =

Uses (4 operations)

Selling List seller order core.seller.order.list
Pack operation Read refund on seller stripe recued-core.seller-stripe.refund.read
Pack operation Read payment on seller stripe recued-core.seller-stripe.payment.read
Selling Confirm refund seller order core.seller.order.confirm-refund

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Read Selling core.seller.order.list read-only
Write Selling core.seller.order.confirm-refund external change

2 more aren't listed here. You'll see them at install.

Data it touches

SurfacesSelling

About

Tags

pack:paid-document-fulfillmentrecipe-role:reconcilerprovider-source-truthd-200d-207

Details

44 steps 2 configurable settings recipe_id: reconcile-paid-document-refund