jakeyeaton16 said almost 7 years ago on More on Stripe and Webhooks :
Like this? ``` mount StripeEvent::Engine, at: '/stripe/event' # post '/stripe/event', to: 'webhooks#event' devise_for :users resources :subscriptions, only: [:new, :create] do scope module: 'subscriptions' do collection do resource :unsubscribe, only: :destroy resource :resubscribe, only: :new end end end ```