issue in Payout using node SDK

New Community Member


     I am trying to complete payout from merchant Account to user Account using Node SDK(@paypal/payouts-sdk). I created Requested for payout =>{

let requestBody = {
    sender_batch_header: {
      recipient_type: "EMAIL",
      email_message: "SDK payouts test txn",
      note: "Enjoy your Payout!!",
      sender_batch_id: sender_batch_id
      email_subject: "This is a test transaction from SDK",
    items: [
        note: "Your 1$ Payout! RONAK TEST",
        amount: {
          currency: "USD",
          value: "1.00",
        receiver: "email",
        sender_item_id: "2",
  let request = new paypal.payouts.PayoutsPostRequest();
using this I got every time payout is in processing
after this i tried to ={
  request = new paypal.payouts.PayoutsGetRequest(batchId);;
  let response = await client.execute(request);
  console.log(`Response: ${JSON.stringify(response)}`);}
this code for send Money to the user account.
usinf this code i got error like ==>{"name":"INVALID_RESOURCE_ID","message":"The requested resource ID was not found","debug_id":"503839dc1ce12","information_link":"","details":[],"links":[]}
can you provide support for how to Send Money to the user from my Merchant Account? we need to send Money One by One  or Bulk also


Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.