Countersign

Integrations · Help desk AI

How to let Freshdesk Freddy issue Stripe refunds with manager approval

Freddy AI Agent refunds with approvals on the right phone. A Freddy custom action posts the request and reads back the status.

Auto-approve under $50

Small refunds that fit your rules go through at once.

Route the rest

A named approver gets a one-tap card on their phone.

Log everything

Who approved, why, the Stripe refund id. CSV for finance.

Setup: HTTP action

  1. Sign up free, connect Stripe with a restricted key (test mode works) and pick a policy.
  2. Open Freshdesk → Freddy AI Agent → Custom actions and add a new HTTP action named "Request refund".
  3. Method POST, URL https://countersign.vibiz.app/api/v1/refunds/request, Content-Type application/json, header Authorization: Bearer cs_YOUR_KEY.
  4. Paste the body and fill the placeholders from the ticket and the agent's variables.
  5. Show the response "message" to the customer; it already says whether the refund went out, is waiting for approval or was denied.
json
{
  "charge_id": "{{charge_id}}",
  "amount": {{amount_cents}},
  "reason": "{{reason}}",
  "ticket_url": "{{ticket.url}}",
  "agent_name": "support-bot",
  "agent_reasoning": "{{agent.reasoning}}",
  "customer_email": "{{ticket.requester.email}}"
}

Replace cs_YOUR_KEY; in the dashboard this snippet comes with your key filled in.

Get my Freshdesk Freddy snippetTry the live demo

Questions

Does Freshdesk Freddy get access to my Stripe account?

No. Freshdesk Freddy gets a Countersign key that can only ask for refunds. Countersign holds a restricted Stripe key and refunds only after your policy or an approver says yes.

What does the agent get back?

status (approved_and_refunded, pending or denied), a message to relay to the customer, the rule that decided it, and a status_url for pending requests.

Who approves the big ones?

The approver for that amount tier gets an email with a one-tap approve card: customer, charge, refundable balance, earlier refunds, the agent's reasoning and the ticket link.

Other integrations

Intercom FinZendesk AI agentsGorgiasHelp ScoutFrontCrispn8nMakeZapierLangGraphOpenAI Agents SDKClaude & MCPVercel AI SDKMastraCrewAI