How do I auto-reverse affiliate commissions on refunds?

Set up automatic commission reversals for refunds and identify reversals that were missed.

Trackdesk AI workflow animation
For:Finance / AccountingTechnical / EngineeringAsks before changes
Most useful for:
  • eCommerce
  • SaaS
  • Nutra & Health
  • Adult & Dating

How to reverse commissions on refunds with Trackdesk AI

Set up refunds so affiliate commissions are reversed automatically for your store or billing tool, and check it works before it counts.

Qualified Trackdesk AI Crew agents can run eligible tasks automatically in Autopilot, within the rules you set.

Trackdesk AI

Help me reverse commissions on refunds. We use Shopify, refunds can happen within 30 days, and I have a list of 41 refunded orders from last month.

Trackdesk AI

Your conversions carry the order number as external ID, so refunds can be reversed automatically Route for Shopify: turn on the refund template (Help center: refund templates) Proposed: a 30-day hold on "Store" sales so refunds land before payout Missed: 41 refunded orders still approved here ($615 in payouts) Mark the 41 as Refunded and add the hold? (yes / only the 41)

Approve this change?

Trackdesk AI shows exactly what will change. Nothing happens until you approve, and the action is logged under your user.

Ask a follow-up…

Open Trackdesk AI to run this task or ask a follow-up using your own program data.

New to Trackdesk? Start a free trial.

Good to Know

  • Without an external ID on conversions, refunds can only be matched by hand.

Run this check in Claude, ChatGPT or Cursor

Connect Trackdesk to your AI tool, paste the setup prompt, then fill in the placeholders in the task prompt.

Task Prompt
# Help me reverse commissions on refunds
Trackdesk · Setup · asks before any change

Inputs (edit before you run)
- Store or billing tool: {Shopify, Stripe, custom}
- Refund window: {30 days}
- Refunded orders already missed: {attach list of order IDs}

Steps
1. POST /api/reports/conversion-report/v1 for the last 30 days: do conversions carry an externalId (the order ID)? If not, stop and explain how to add it.
2. Recommend the route: the Stripe app reverses refunds itself; stores use a refund template; custom setups call POST /api/node/conversions/v1/update-status-by-external-id with revenueOriginId, externalId, conversionTypeCode and status CONVERSION_STATUS_REFUNDED.
3. Suggest a hold period longer than the refund window: conversionTypeSettings[].onHold {periodHours, finalConversionStatus} per conversion type, sent with the full pricing in PUT /api/node/offers/v1/{id}/pricing (after my yes). It applies to new conversions only.
4. For the missed refunds: match the order IDs and, after my yes, PUT /api/node/conversions/v1/{id}/status with CONVERSION_STATUS_REFUNDED, one per call. Settled conversions can’t change; list those for finance.

Rules
- Change nothing until I say yes.

Answer
- Which route fits, the hold period, the missed refunds and their payout.

Trackdesk AI is built into the Trackdesk affiliate platform and uses your live program data to answer questions and prepare work for your review.

See how it works