How to test Refund of custom payment extension

I am building 3 Shopify off-site payment extensions (ACH, Affirm, Klarna).

I go to my store and cannot see ‘Refund’ feature in the order to test.

I am creating API on my payment app based on this document Payments app request reference

Do you know how to do integration test to test it before public the payment extension? Thank you