#jp-boston_api

1 messages ¡ Page 1 of 1 (latest)

junior forgeBOT
#

👋 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/1217943601284120616

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

signal solsticeBOT
flint tinsel
#

Hi there!

sweet oyster
#

hi!

flint tinsel
#

succeeded is not a terminal status

#

A Refund in this state may update from succeeded to failed if it can't be processed by the customer bank or issuer

sweet oyster
#

I see - thank you

#

May I ask another question?

flint tinsel
#

sure!

sweet oyster
#

The webhook 'charge.refunded gets a Charge payload. It has a boolean value from charge.getRefunded(). When I get. this payload in this webhook and charge.getRefunded() is TRUE does that mean that the Refund was successful?

flint tinsel
#

Give me a minute to test

sweet oyster
#

sure

flint tinsel
#

So if a charge's refund's status is succeeded, charge.refunded will be true

#

If the status of that refund later fails, refunded on the charge will be false