@@ -356,7 +356,7 @@ async function paykey(idempotencyId, payinfo) {
async function Refund(eventId, value) {
const url = `${BAAS_URL}/v1/pix/return`;
const body = {
- value: 0.01,
+ value: value,
returnReasonCode: "MD06",
eventId: eventId,
};