#Naresh Kumar-payouts
1 messages ยท Page 1 of 1 (latest)
Thanks @ocean forge
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and you would need to use the Stripe Account header to get it for a specific Connect Account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Let me check this out and keep you posted
let me know if you need any more help
Sorry @ocean forge give me couple of minutes
take your time, one of my colleagues will be here once you're ready
Its working @ocean forge Thanks
But I was talking with one of your colleagues the other day regarding the "Reversing a Payout from Stripe Connected Account"
@stiff pilot I tried your solution but it throws me an error: TypeError: stripe.payouts.reverse is not a function
I am using npm package "stripe": "^8.81.0"
But it throws me an error
const payout = await stripe.payouts.reverse(
payoutId,
{
stripeAccount
}
);
@stiff pilot Can you help me out on this
I can help but the server is extremely busy right now. Pulling in colleagues for help but I still may be a few minutes before I can catch up and help
Sure I will wait. Please take your time @stiff pilot . Or if anyone from your team is ready to help I am happy to receive it.
Apologies just getting back here and looking in to this properly. I wonder if that PR that my other colleague found was not for those calls to be added immediately. Checking in if this call was actually added now
Ah, so it turns out that this API method was added in a later minor version, 8.112.0 https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#81120---2020-10-14
Can you try upgrading and making the call again?
okay let me try to upgrade the stripe npm and let you know on the progress
Thank you. And thanks for the patience on this
I have upgraded
from "stripe": "^8.81.0"
to "stripe": "^8.222.0"
and the reversal of the payout works
@stiff pilot Thanks man for this help
Please do tell the stripe to upgrade their documentation as this might affect some others also
Not any more at this moment. Thanks for your time @stiff pilot and @ocean forge
Of course! And yes, will flag that to the docs team. I meant to on Friday. Thanks for your time as well!