issue in Payout using node SDK
RONAKA
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-01-2021
04:42 AM
Hello,
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();
request.requestBody(requestBody);
}.
using this I got every time payout is in processing
after this i tried to ={
request = new paypal.payouts.PayoutsGetRequest(batchId);
request.page(1);
request.pageSize(10);
request.totalRequired(true);
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":"https://developer.paypal.com/docs/api/payments.payouts-batch/#errors","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
Labels:
- Labels:
-
REST SDK
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Disputes Webhook does not works on Sandbox (23/04/24) in Sandbox Environment
- when I payout , webhook URL cannot receive callbacks. in Sandbox Environment
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- Connecting with site to take payments in Payflow