#Moonat-refund-description
1 messages ยท Page 1 of 1 (latest)
Hi ๐ not that I'm aware of, there are no description or similar fields that can be provided when creating a Refund.
https://stripe.com/docs/api/refunds/create
You can use the metadata field for storing additional information though, but I'm not sure that information shows up in the Stripe dashboard.
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 there is a way to add a note/comment that shows like that in a payment?
Hi @vivid jetty sorry, I'm thinking Discord may have not shown my initial message in this thread (it does that sometimes and you have to refresh to see it, I just had to do the same). I'll paste that message again below.
Hi ๐ not that I'm aware of, there are no description or similar fields that can be provided when creating a Refund.
https://stripe.com/docs/api/refunds/createYou can use the metadata field for storing additional information though, but I'm not sure that information shows up in the Stripe dashboard.
oooo shees, I tried with metadata but its not working with that, it must be another way
Sorry, we don't know much about how the Stripe dashboard shows these objects, as we primarily focus on the API-side of integrations in this forum. Are you trying to get this information to show in the dashboard, or include the information so it can be consumed by a custom flow that you're building?
metadata can be provided via the API, you can then retrieve the Refund object later and reference the metadata values that you provided. If you're looking to attach additional information to the Refund objects to be consumed by your flows, then using metadata is the right approach for that.
https://stripe.com/docs/api/refunds/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.