post https://api.payment.sandbox.coinify.com/v1/payment-intents//test/refunded
This test endpoint enables you to create a completed refund for a specific PaymentIntent.
A valid PaymentIntent ID needs to be provided in the {id} parameter in order to make a successful request. You can then confirm the change in the state of the PaymentIntent by calling the Read PaymentIntent endpoint and via the callback event that is sent to your webhook URL.