#Neeraj Kumar

1 messages · Page 1 of 1 (latest)

wet vortexBOT
woeful mesa
#

👋 @knotty rain How can we help?

knotty rain
#

Hi @woeful mesa thanks for faster response. Let me give you the inforation.

#

I am creating the transfer and that transfer having destination payment id.

paymentId is like py_somerandomeId
After getting that payment id, I have to update the description of that destination payment id charge or payment.
But i'm getting error when updating that transfer.

#

This is the error i'm getting.

#

This is how I creating the transfer

#

and that's how i'm trying to update the description of that payment or charge

#

@woeful mesa please help. i'm stuck here now.

woeful mesa
knotty rain
#

okay let me check

#

"requestId":"req_uFZuiZHyADrpMU"

#

@woeful mesa this is the request Id

#

There are others requests Id as well.

woeful mesa
#

Looking into it now

#

py_1MdbMrIfunyzmOsHseGKARMf is on the connected account, but you were trying to access it from the platform

knotty rain
#

Yes, the Destination Id is this one.

woeful mesa
#

py_1MdbMrIfunyzmOsHseGKARMf is the destination payment on the connected account. To update description on the destination payment, you should include Stripe-Account header since the object is in connected account, not platform anymore

knotty rain
#

So I need to add this information while creating the payment intent or when creating the transfers? @woeful mesa

woeful mesa
#

Stripe-Account header should be added when you're trying to perform update on the description of py_xxx

#

Not payment intent creation or transfer

#

More specifically,

stripe.charges.update(...)
knotty rain
#

you mean like this @woeful mesa

woeful mesa
#

Yes

knotty rain
#

okay. Thank you so much @woeful mesa Let me try this if this can solve my problem.

#

You're life saver

woeful mesa
#

No problem! Let me know if there's any further questions

knotty rain
#

Sure @woeful mesa