fix(bitpay): align refund declaration with implementation
Author: XyneSpacesCreated Sep 17, 2026Updated Sep 17, 2026
The Bitpay connector currently advertises refund support in the GET /feature_matrix response, but the refund execution path is not implemented.
Declaration (
refundsmarkedSupported): https://github.com/juspay/hyperswitch/blob/9e5dd70d1cb4011bbcca3114862406008a0b61f8/crates/hyperswitch_connectors/src/connectors/bitpay.rs#L442-L446Implementation (
Refundexecute returnsNotImplemented): https://github.com/juspay/hyperswitch/blob/9e5dd70d1cb4011bbcca3114862406008a0b61f8/crates/hyperswitch_connectors/src/connectors/bitpay.rs#L367-L375
Please either implement the Bitpay refund flow or update the feature matrix declaration to mark refunds as NotSupported.
Source: juspay/hyperswitch