I want to use Patreon to deliver premium benefits to Discord servers with my bot. The simpler the setup, the better. However, from all the webhook tests, I couldn’t find a single consistent way to identify what specifically triggered the event (whether they joined, updated, or removed their membership), nor the specific membership tier in question. I guess I can solve the first issue by separating them into their own webhook endpoints, but that sounds a lot like a workaround than a solution…
I’ve also noticed that the only webhook endpoints the documentation covers are the ones that are also marked as deprecated in the developer portal, and the other 6 that are implied replacements have no documentation from what I’ve found, and manually reading through the data they send sent me to an endless rabbit hole because of how identical they all look… Like seriously, the only difference between members:create
, members:update
and members:delete
is the gender
being a 0
or a 1
…
I’m new to Patreon webhooks, and I’d like to be able to rely on it exclusively if possible without any additional API requests from my end. So, I guess I have several questions that need answers.
- How do I identify whether a patron joined, updated, or removed their membership from the campaign?
- If they joined or updated their membership, how do I identify which specific tier they joined or updated to?
- What is an overall consistent setup for all this? My initial expectation is that “create” is when someone joined a membership, “update” is when they switched to a different tier or probably also updated their own user information, and “delete” when they leave the membership. Reading the findings from this fella makes me think it’s all much more complicated than it seems…
- If using the deprecated events the answer, for how long are they still safe to use? I’d rather future-proof my project whenever possible, which also includes avoiding using legacy technologies.
There are still so many things I have issues with the Patreon’s API overall that I cannot come up and write it here right now.
Anyway, I appreciate any help you may have. Thank you in advance.