Changeset View
Changeset View
Standalone View
Standalone View
src/routes/api.php
Show All 36 Lines | |||||
Route::group( | Route::group( | ||||
[ | [ | ||||
'domain' => \config('app.website_domain'), | 'domain' => \config('app.website_domain'), | ||||
'middleware' => 'api', | 'middleware' => 'api', | ||||
'prefix' => $prefix . 'api/auth' | 'prefix' => $prefix . 'api/auth' | ||||
], | ], | ||||
function ($router) { | function ($router) { | ||||
Route::post('password-policy/check', 'API\PasswordPolicyController@check'); | |||||
Route::post('password-reset/init', 'API\PasswordResetController@init'); | Route::post('password-reset/init', 'API\PasswordResetController@init'); | ||||
Route::post('password-reset/verify', 'API\PasswordResetController@verify'); | Route::post('password-reset/verify', 'API\PasswordResetController@verify'); | ||||
Route::post('password-reset', 'API\PasswordResetController@reset'); | Route::post('password-reset', 'API\PasswordResetController@reset'); | ||||
Route::post('signup/init', 'API\SignupController@init'); | Route::post('signup/init', 'API\SignupController@init'); | ||||
Route::get('signup/invitations/{id}', 'API\SignupController@invitation'); | Route::get('signup/invitations/{id}', 'API\SignupController@invitation'); | ||||
Route::get('signup/plans', 'API\SignupController@plans'); | Route::get('signup/plans', 'API\SignupController@plans'); | ||||
Route::post('signup/verify', 'API\SignupController@verify'); | Route::post('signup/verify', 'API\SignupController@verify'); | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | function () { | ||||
Route::get('users/{id}/skus', 'API\V4\SkusController@userSkus'); | Route::get('users/{id}/skus', 'API\V4\SkusController@userSkus'); | ||||
Route::get('users/{id}/status', 'API\V4\UsersController@status'); | Route::get('users/{id}/status', 'API\V4\UsersController@status'); | ||||
Route::apiResource('wallets', 'API\V4\WalletsController'); | Route::apiResource('wallets', 'API\V4\WalletsController'); | ||||
Route::get('wallets/{id}/transactions', 'API\V4\WalletsController@transactions'); | Route::get('wallets/{id}/transactions', 'API\V4\WalletsController@transactions'); | ||||
Route::get('wallets/{id}/receipts', 'API\V4\WalletsController@receipts'); | Route::get('wallets/{id}/receipts', 'API\V4\WalletsController@receipts'); | ||||
Route::get('wallets/{id}/receipts/{receipt}', 'API\V4\WalletsController@receiptDownload'); | Route::get('wallets/{id}/receipts/{receipt}', 'API\V4\WalletsController@receiptDownload'); | ||||
Route::get('password-policy', 'API\PasswordPolicyController@index'); | |||||
Route::post('password-reset/code', 'API\PasswordResetController@codeCreate'); | Route::post('password-reset/code', 'API\PasswordResetController@codeCreate'); | ||||
Route::delete('password-reset/code/{id}', 'API\PasswordResetController@codeDelete'); | Route::delete('password-reset/code/{id}', 'API\PasswordResetController@codeDelete'); | ||||
Route::post('payments', 'API\V4\PaymentsController@store'); | Route::post('payments', 'API\V4\PaymentsController@store'); | ||||
//Route::delete('payments', 'API\V4\PaymentsController@cancel'); | //Route::delete('payments', 'API\V4\PaymentsController@cancel'); | ||||
Route::get('payments/mandate', 'API\V4\PaymentsController@mandate'); | Route::get('payments/mandate', 'API\V4\PaymentsController@mandate'); | ||||
Route::post('payments/mandate', 'API\V4\PaymentsController@mandateCreate'); | Route::post('payments/mandate', 'API\V4\PaymentsController@mandateCreate'); | ||||
Route::put('payments/mandate', 'API\V4\PaymentsController@mandateUpdate'); | Route::put('payments/mandate', 'API\V4\PaymentsController@mandateUpdate'); | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |