# Welcome to the Patreon developers community!

**URL:** <https://www.patreondevelopers.com/t/welcome-to-the-patreon-developers-community/13>\
**Category:** Uncategorized\
**Created:** [October 20, 2017, 1:01am UTC](https://www.patreondevelopers.com/t/welcome-to-the-patreon-developers-community/13 "2017-10-20T01:01:22Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Decorater](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@Decorater](https://www.patreondevelopers.com/u/Decorater)\
**Post date:** [January 25, 2020, 12:52am UTC](https://www.patreondevelopers.com/t/welcome-to-the-patreon-developers-community/13/10 "2020-01-25T00:52:27Z")

</div>

@nsethi So I am wanting to do some unique thing using the webhooks.

Basically I want to use the webhooks themselves and allow the owner of the discord configure what list of roles they want to give users based on their “tier”.

And to also remove the roles if the payment is not 100% successful. (like if they refunded, etc.)

However it seems to require querying the actual user which can be a pain in the butt.

> [@Getting if a patron's payment went through with webhooks](https://www.patreondevelopers.com/t/getting-if-a-patrons-payment-went-through-with-webhooks/2673):
>
> I think the Documentations need to include C#. Also I been having issues with getting the info from the webhooks. Yes It is easy to make an [asp.net](http://asp.net) core webapi that can be used for webhooks. However now inside that API I want to get the status of every person’s pledge (or at least their last failed state to check it without having to somehow get it from requesting the user’s individually). I think it is a flaw on that system and I think other than that the non-deprecated hooks are alright. I me…

And the related source code (well parts of the [asp.net](http://asp.net) code). The rest of the code can be auto generated so ye:  
[Discord reward roles never removed when payment is declined - #5 by Decorater](https://www.patreondevelopers.com/t/discord-reward-roles-never-removed-when-payment-is-declined/324/5)

If only the webhook tester provided a mockup of like a fake user, fake campaign filled with fake patron info with all possible fields filled in my code would be much more accurate.

(the data structures to the `[FromBody]` type it converts the data too on the post method implementation was generated from [https://app.quicktype.io/](https://app.quicktype.io/))

---

_[View the full topic](https://www.patreondevelopers.com/t/welcome-to-the-patreon-developers-community/13)._
