CatarseMoip::Engine.routes.draw do resources :moip, only: [], path: 'payment/moip' do collection do post 'notifications' => "notifications#create" get 'js' end member do post :moip_response get :review post :get_moip_token end end end