#mnatanek-connect-header
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mnatanek, 1 hour ago, 16 messages
Hello! If you retrieve the Transfer you should see the py_123 under destination_payment
yes exactly. And now I wanna to change the desctioption for destination_payment object
Then you need to use the Update Charge API (https://stripe.com/docs/api/charges/update#update_charge-description) using the Stripe-Account header of the connected 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.
this is py_xxx not ch_xxx not works for me
Even if it's a py_123 it should work
nope, I still get nothing from retrieve :/
Are you using the Stripe-Account header?
If you have a request ID from the retrieve I can take a closer look
I am not sure, I am trying to fix existing code
this is what I see in API
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such charge: 'py_1OUuHFCk8gMckqbZ0KRfTeaU'",
"param": "id",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_IxskxbxEF45b0y?t=1704387624",
"type": "invalid_request_error"
}
When I look the stripe panel I can go to this payment
Yeah you're missing the Stripe-Account header like I mentioned (You can read more about it at https://stripe.com/docs/connect/authentication#stripe-account-header). It should be set to the connected account the transfer was made to
Ok got it. I needed acc_ too