How to refund order from third party api and also save entry in external database in php

New Member
1 0 0

Hi,I'd like to use the external API for refund order or third party api which was i already used for payment. tell me the process of this and the code language is php.