#Naresh Kumar-payout
1 messages ยท Page 1 of 1 (latest)
Hello! Can you show me what specific button/flow you're using in the Stripe Connect UI? (Just want to be sure I'm thinking of the right thing)
Sharing you the detail where the button is present in the Payout of the stripe connect
Can you share a screenshot?
Here it is for your reference
Can we do this button functionality using a Stripe API written in Node Js for reversing a payout which is paid out to the Vendor Bank account?
I believe this (https://stripe.com/docs/api/payouts/reverse) would be the API equivalent, but it depends on whether the payout is pending or not (in which case you may want this https://stripe.com/docs/api/payouts/cancel instead).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Payout is not pending it is successfully done. But we have a time period of 90 days to reverse a successful payout to the vendor from the stripe UI
Hold on let me check the links
@hexed grove here is the problem. When I choose the language to be Node Js in the given link it says a prompt message
"This method is currently unsupported in the Node.js client. If you'd like to see it included in the library, let us know about your use case"
Is there a way to enable the API for us. Or can the technical guy share us the idea how we have to write the API for Node Js for reversing a payout.
Note:
- Cancel is available in Node.js
- Reverse is NOT available for Node.js
๐
Ahh, I see what you're saying - I wasn't aware those weren't available in our client libraries yet
Is there any way @hexed grove to solve this using an API? Can any one from the backend team support us on how to develop?
Karbi has to step away soon but I am catching out and will be able to help soon
Yea sure please do help it out.
Just jumping in really quick before I leave - I do believe it actually is supported in the node library (it's just that our API reference is wrong) - I see support was added here https://github.com/stripe/stripe-node/pull/1042
Hold on guys let me check this and ping back
I have checked the link it seems to be useful. Can you guys do me a favor.
Is it possible to share the code snippet in Node js for reversing a payout.
As in write a snippet that utilizes that function?
Did you run in to errors when trying to call it yourself?
Now I have not run. But earlier when I ran the function it throwed me an error. I am not remembering the error on top of my head
I'll try to make a quick snippet and send it here when I get a chance
Sure please do when you get a chance in the mean while I will also try it.
I haven't been able to test but it looks like it should be:
'po_12345...'
);```
Do you get an error when calling like that? (And if so can you paste the error here?)
I have just came out of the office due to an emergency. I will test and let you know whether this script works
Sorry for the inconvenience caused.
No worries, not inconvenient at all. My node project is currently broken but I will try to fix it and test for you