+ Update identifications routes

This commit is contained in:
Djery-Tom 2020-06-30 04:45:37 +01:00
parent 85327a4fcc
commit 97f92c7b46
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@
// Helper routes // Helper routes
$router->get('countries','WalletServiceController@get'); $router->get('countries','WalletServiceController@get');
$router->get('countries/{dial_code}','WalletServiceController@get'); $router->get('countries/{dial_code}','WalletServiceController@get');
$router->get('paying_networks/{id_country}','WalletServiceController@get'); $router->post('paying_networks','WalletServiceController@post');
// Transactions routes // Transactions routes
$router->group(['prefix' => '/transactions'] , function () use ($router){ $router->group(['prefix' => '/transactions'] , function () use ($router){
@ -101,5 +101,6 @@
$router->post('{id_identification}','WalletServiceController@postWithFiles'); $router->post('{id_identification}','WalletServiceController@postWithFiles');
$router->get('{user_phone}','WalletServiceController@get'); $router->get('{user_phone}','WalletServiceController@get');
$router->get('verify/{user_phone}','WalletServiceController@get'); $router->get('verify/{user_phone}','WalletServiceController@get');
$router->post('rattach_card/{id_user}', 'WalletServiceController@post');
}); });
}); });