Sandbox
Code:
const fetch = require('node-fetch');
const bodyData = {
  "refundId": "cfd50dbc-f345-4a59-bfc8-3c4722466818",
  "depositId": "",
  "amount": ""
};
const resp =await fetch('https://api.sandbox.pawapay.com/deposits',
    {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json',
            'Authorization': 'Bearer <YOUR_API_KEY>',
            },
        body: bodyData
       });
const data= await resp.json();
console.log(data);