Create stripe webhooks using API









up vote
6
down vote

favorite
1












Is it possible to create webhook in stripe account using API if we have client secret key of destination account?










share|improve this question



























    up vote
    6
    down vote

    favorite
    1












    Is it possible to create webhook in stripe account using API if we have client secret key of destination account?










    share|improve this question

























      up vote
      6
      down vote

      favorite
      1









      up vote
      6
      down vote

      favorite
      1






      1





      Is it possible to create webhook in stripe account using API if we have client secret key of destination account?










      share|improve this question















      Is it possible to create webhook in stripe account using API if we have client secret key of destination account?







      stripe-payments webhooks stripe-connect






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 21 '17 at 14:27









      Travis Northcutt

      16.5k83449




      16.5k83449










      asked Jan 24 '17 at 5:36









      Vinay Patil

      7510




      7510






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          6
          down vote



          accepted










          No, webhook endpoints can only be created, edited or removed via the dashboard, not via the API.



          EDIT: This is no longer true. Webhook endpoints can now be managed via the API: https://stripe.com/docs/api/webhook_endpoints.



          If you want to receive events emitted from accounts that are connected to your platform, you need to set up a Connect webhook endpoint on the platform's account, not add endpoints to each connected account. See the documentation here for more information.






          share|improve this answer


















          • 4




            that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
            – Joe Audette
            Aug 5 at 13:00










          • @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
            – Ywain
            Nov 9 at 19:46










          • thanks for the update, that is good news!
            – Joe Audette
            Nov 9 at 20:26










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f41820731%2fcreate-stripe-webhooks-using-api%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          6
          down vote



          accepted










          No, webhook endpoints can only be created, edited or removed via the dashboard, not via the API.



          EDIT: This is no longer true. Webhook endpoints can now be managed via the API: https://stripe.com/docs/api/webhook_endpoints.



          If you want to receive events emitted from accounts that are connected to your platform, you need to set up a Connect webhook endpoint on the platform's account, not add endpoints to each connected account. See the documentation here for more information.






          share|improve this answer


















          • 4




            that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
            – Joe Audette
            Aug 5 at 13:00










          • @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
            – Ywain
            Nov 9 at 19:46










          • thanks for the update, that is good news!
            – Joe Audette
            Nov 9 at 20:26














          up vote
          6
          down vote



          accepted










          No, webhook endpoints can only be created, edited or removed via the dashboard, not via the API.



          EDIT: This is no longer true. Webhook endpoints can now be managed via the API: https://stripe.com/docs/api/webhook_endpoints.



          If you want to receive events emitted from accounts that are connected to your platform, you need to set up a Connect webhook endpoint on the platform's account, not add endpoints to each connected account. See the documentation here for more information.






          share|improve this answer


















          • 4




            that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
            – Joe Audette
            Aug 5 at 13:00










          • @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
            – Ywain
            Nov 9 at 19:46










          • thanks for the update, that is good news!
            – Joe Audette
            Nov 9 at 20:26












          up vote
          6
          down vote



          accepted







          up vote
          6
          down vote



          accepted






          No, webhook endpoints can only be created, edited or removed via the dashboard, not via the API.



          EDIT: This is no longer true. Webhook endpoints can now be managed via the API: https://stripe.com/docs/api/webhook_endpoints.



          If you want to receive events emitted from accounts that are connected to your platform, you need to set up a Connect webhook endpoint on the platform's account, not add endpoints to each connected account. See the documentation here for more information.






          share|improve this answer














          No, webhook endpoints can only be created, edited or removed via the dashboard, not via the API.



          EDIT: This is no longer true. Webhook endpoints can now be managed via the API: https://stripe.com/docs/api/webhook_endpoints.



          If you want to receive events emitted from accounts that are connected to your platform, you need to set up a Connect webhook endpoint on the platform's account, not add endpoints to each connected account. See the documentation here for more information.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 9 at 19:45

























          answered Jan 24 '17 at 9:13









          Ywain

          9,94711537




          9,94711537







          • 4




            that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
            – Joe Audette
            Aug 5 at 13:00










          • @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
            – Ywain
            Nov 9 at 19:46










          • thanks for the update, that is good news!
            – Joe Audette
            Nov 9 at 20:26












          • 4




            that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
            – Joe Audette
            Aug 5 at 13:00










          • @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
            – Ywain
            Nov 9 at 19:46










          • thanks for the update, that is good news!
            – Joe Audette
            Nov 9 at 20:26







          4




          4




          that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
          – Joe Audette
          Aug 5 at 13:00




          that is a shame, for developers creating integration with stripe it would be much nicer if setup only requires configuring the api credentials and we had a way to setup needed web hooks automatically. instead we have to provide additional setup details beyond our control whether the user completes them, and if they don't complete the needed setup we won't know about success or failure of subscription renewal. I am building a re-useable membership paywall solution for example and this makes it more complicated to setup correctly.
          – Joe Audette
          Aug 5 at 13:00












          @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
          – Ywain
          Nov 9 at 19:46




          @JoeAudette You can now create and manage webhook endpoints via the API! stripe.com/docs/api/webhook_endpoints
          – Ywain
          Nov 9 at 19:46












          thanks for the update, that is good news!
          – Joe Audette
          Nov 9 at 20:26




          thanks for the update, that is good news!
          – Joe Audette
          Nov 9 at 20:26

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f41820731%2fcreate-stripe-webhooks-using-api%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Use pre created SQLite database for Android project in kotlin

          Darth Vader #20

          Ondo