Stripe Connect refunds: the two flags that silently cost platforms
Problem When a Stripe Connect platform refunds a charge, the platform often assumes that the original transfer and the application fee are automatically undone. In practice, two boolean flags— refund_application_fee and reverse_transfer —control whether the fee and the transfer are reversed. Their defaults are non‑obvious ( false for both), so a refund can leave the platform with a net loss that…
When a Stripe Connect platform refunds a charge, it is crucial to understand that the refund process does not automatically reverse the original transfer and application fee. Two boolean flags—refund_application_fee and reverse_transfer—determine whether these monetary components are undone. By default, both flags are set to false, which can lead to unexpected financial outcomes for the platform.
As a result, refunds may only credit the customer, leaving the platform with a net loss that is not immediately evident in Stripe’s error logs. This discrepancy manifests only as a difference between the amount refunded to the customer and the actual amount returned to the platform’s balance, creating a silent loss.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.