You can refund non-disputed payments to customers directly from the Payments overview page in the Dashboard or using the Stripe API. The default refund amount is the full charge amount, but you can provide an amount different than the full charge to process a partial refund.
You can refund non-disputed payments to your customers using the Stripe API or directly from the Dashboard.
To refund an amount different than the full charge amount, include the amount parameter and enter the amount to refund. If no amount is entered, the default action will be a refund of the full charge amount.
Run the API call.
Additional Information
You can use test mode to try creating refunds before actioning on the live charges. Actions taken in test mode use the test API key, which means no real transactions are processed, not changes made to your actual customers.