title: Node.js Paypal Payout api error in Live enviornment
body: <p>I am using a PayPal payout API to transfer money, its working perfect in sandbox environment but when I changed it to live environment it is throwing some error:</p>
  <p><strong>text: '{&quot;name&quot;:&quot;VALIDATION_ERROR&quot;,&quot;message&quot;:&quot;Invalid request - see details&quot;,&quot;debug_id&quot;:&quot;a641429b40e07&quot;,&quot;information_link&quot;:&quot;https://developer.paypal.com/docs/api/payments.payouts-batch/#errors&quot;,&quot;details&quot;:[{&quot;field&quot;:&quot;items[0].receiver&quot;,&quot;location&quot;:&quot;body&quot;,&quot;issue&quot;:&quot;may not be null&quot;}],&quot;links&quot;:[]}'</strong></p>
  <p>This is the code I am using to request a payout</p>
  <pre><code>let requestBody = {
  
      &quot;sender_batch_header&quot;: {
          &quot;recipient_type&quot;: &quot;EMAIL&quot;,
          &quot;email_message&quot;: &quot;SDK payouts test txn&quot;,
          &quot;note&quot;: &quot;Enjoy your Payout!!&quot;,
          &quot;sender_batch_id&quot;: 'asd12432',
          &quot;email_subject&quot;: &quot;This is a test transaction from SDK&quot;
      },
      &quot;items&quot;: [{
          &quot;note&quot;: &quot;Your 5$ Payout!&quot;,
          &quot;amount&quot;: {
              &quot;currency&quot;: &quot;USD&quot;,
              &quot;value&quot;: 20
          },
          &quot;receiver&quot;: 'payment@reciever.com',
          &quot;sender_item_id&quot;: &quot;Test_txn_1&quot;
      }]
  }
  
  // Construct a request object and set desired parameters
  // Here, PayoutsPostRequest() creates a POST request to /v1/payments/payouts
  let request = new paypal.payouts.PayoutsPostRequest();
  request.requestBody(requestBody);
  
  
  // Call API with your client and get a response for your call
  let createPayouts = async function () {
      let response = await client.execute(request);
      console.log(`Response: ${JSON.stringify(response.statusCode)}`);
  
      // If caladfl returns body in response, you can get the deserialized version from the result attribute of the response.
      console.log(`Payouts Create Response: ${JSON.stringify(response.result)}`);
      //res.redirect('/adam?payment=success');
      res.redirect('/adam?payment=success');
  
  }
  createPayouts();
  </code></pre>