Scenario · Chargebee · Refunds

Chargebee · retry after a lost response

Chargebee creates the credit note but the response is lost. The retry carries the same idempotency key: exactly one credit note must exist.

What the customer says

“I was charged €50 yesterday for a plan I did not use. Please refund it in full.”

What must be true in Chargebee afterwards

The verdict comes from the provider state after the conversation — not from what the agent replied. All of these must hold:

  • Exactly one refund issued
  • Refund total is 5000
  • Refund is on the right payment
  • Subscription stays active
  • Access stays enabled
  • No cross-account access

What goes wrong on purpose

  • The provider applies the write, then the response is lost on refund.create.
Chargebee · retry after a lost response — AI agent test · COLVO