#Moonat-refund-description

1 messages ยท Page 1 of 1 (latest)

neon ermine
#

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.

vivid jetty
#

and there is a way to add a note/comment that shows like that in a payment?

neon ermine
#

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/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.

vivid jetty
#

oooo shees, I tried with metadata but its not working with that, it must be another way

neon ermine
#

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?

vivid jetty
#

Include the information

#

I thought this could be added with a method via an API

neon ermine
#

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