<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

use Illuminate\Support\Facades\Route;

Route::group([
    "middleware" => "auth",
    "prefix" => "secure"
], function() {

    //Stripe Routes
    Route::get('{company_id}/payment-methods', 'StripeController@paymentMethodsView')->name('secure.paymentMethods');
    Route::get('{payment_id}/payment-action-required/{api_key}', 'StripeController@paymentActionRequiredView')->name('secure.paymentActionRequired');
});
