#AlexTakitani-payment
1 messages ยท Page 1 of 1 (latest)
Yes, you can update the description of a Payment Intent through the API - https://stripe.com/docs/api/payment_intents/update#update_payment_intent-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
๐
I see that it works if the payment is made by a customer
but not for a transfer received from another account
I'm testing Connect, by the way
Hi there ๐ taking over
Can you link the docs for the field you are trying to update?
Sure
Are you doing that via the Dashboard?
Okay, so what are you trying to do with the description?
Description and metadata are both here: https://stripe.com/docs/api/transfers/create#create_transfer-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
since we can't do it via api, the transfer description and metadata are stored only on the mains account.
You can update them like any other field via the API
Yes, I have that on the main account
but I want to change it on the receiver account
We will use that fied so our partner can see details about each payment we do
There is one Transfer object that gets updated. You cannot have it show differently for the platform and its' connected account
Yes, but, there's no way to edit the payment via api?
I can do it using the dashboard
i don't understand your question
You can update the transfer object via the API. You can also update the associated payment
Sorry it's indeed confusing
There are 2 accounts
main account and partner account
I'm using connect
So I've made a transfer from main to partner
but, on the partner account
there's the payment for the transfer I made
but no description and metadata
I would like to edit that, I have access to the partner account
either via dashboard or api
I see that I can do it using the dashboard
But, I cannot find a way to do it via the api
Can you link the Payment ID you're talking about?
Sure
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Taking a look now
I believe you have to update the underlying Charge object, but I need to confirm
Thanks!
Ah, okay so yes. You would have to make an API call to update via charge.update: https://stripe.com/docs/api/charges/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You would just pass the py_ ID instead of a ch_ ID