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