curl --location --request POST 'https://api.plexypay.com/v1/payments//refund' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 0,
"minorAmount": 0
}'{
"id": "3f8c2c5e-5f0b-4fc3-a1c4-7edfe91c5ab2",
"responseCode": "00",
"networkTransactionReference": "927462819374",
"authCode": "A64192",
"amount": 50,
"orderReference": "ORDER-784512",
"remainingBalance": 150,
"success": true,
"message": "approved",
"originalTransactionId": "1c4b2ce1-bd0b-4a48-94fb-d6b81c36fcae"
}