#boris_terminal-tipping
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/1291154861278363844
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
There doesn't seem to be an invocation of the ConfigurationUpdateParams that allows for removing the tipping config. Not one that I could find at least.
Okay, I see what you mean. Give me a few more minutes to test on my end
sure, thanks.
Okay, so what you'll want to do here is pass an empty string for the top-level tipping hash
In order to do this in Java, you'll need to use this: https://github.com/stripe/stripe-java?tab=readme-ov-file#parameters
It'll look something like this .putExtraParam("tipping", "")
Also I couldn't see the request body in the workbench when viewing req_JQuhjHUSP46NaE so I wasn't quite sure what it was sending
There was no request body for req_JQuhjHUSP46NaE so no updates were made to the Terminal configuration for that particular request, so the response is just the configuration object, unchanged
ok I was having trouble setting tipping to an empty string but I just noticed the setTipping overload that accepts EmptyParam. let me try that
boris_terminal-tipping
ah neat I forgot some of our APIs had that "empty param" approach
Ok that worked. Thanks!
sure thing!