#aaron_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1357784673169707082
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- aaron_api, 3 days ago, 9 messages
Hi, you can attached a metadata to an existing credit note object by updating it: https://docs.stripe.com/api/credit_notes/update#update_credit_note-metadata
You can pass key value pairs to pass in the data you'd like
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah yes I looked into this and it's a possibility however is there another way to add specifically for internal note?
There is not internal note parameter you can pass no. The behaviors between the Dashboard and the API can differ.
ah I see makes sense. thanks!
as to my second question, when a credit memo is generated and a refund to credit card is selected -- is the refund happening asynchronously? also is there a notification that stripe sends if the refund fails?
I highly recommend that you review this: https://docs.stripe.com/invoicing/dashboard/credit-notes#customer-balances-discounts
Yes, you can listen to events: https://docs.stripe.com/api/events/types#event_types-credit_note.created related to created notes
Let me know what specific questions you have after reviewing the above documents
I believe I have read this but it doesn't tell me if the refund object in stripe is successfully created or not. For example: If I generatea credit note with a refund to the customers card and the refund transaction fails, will I see that error some where or get a notification from stripe?
If it's a refund credit note, it should create a refund object visibile here: https://docs.stripe.com/api/credit_notes/object#credit_note_object-refunds
So you'd get refund webhook events
makes sense thanks! ๐