+ Add iLink agent depot transactions routes v1
This commit is contained in:
parent
c62701caad
commit
9878189ee9
|
@ -54,6 +54,8 @@
|
|||
* Routes for Wallet Service
|
||||
*/
|
||||
$router->group(['prefix' => '/'.env('WALLET_SERVICE_NAME') ,'middleware' => 'auth:api'], function () use ($router){
|
||||
// Helper routes
|
||||
$router->get('countries','WalletServiceController@get');
|
||||
|
||||
// Transactions routes
|
||||
$router->group(['prefix' => '/transactions'] , function () use ($router){
|
||||
|
@ -61,6 +63,11 @@
|
|||
$router->get('{id_wallet}','WalletServiceController@get');
|
||||
$router->post('commission','WalletServiceController@post');
|
||||
$router->delete('{id_transaction}','WalletServiceController@delete');
|
||||
|
||||
// Transactions wallet ilink
|
||||
$router->group(['prefix' => '/ilink'] , function () use ($router){
|
||||
$router->post('','WalletServiceController@post');
|
||||
});
|
||||
});
|
||||
|
||||
// Credits routes
|
||||
|
@ -87,7 +94,7 @@
|
|||
$router->group(['prefix' => '/identifications'] , function () use ($router){
|
||||
$router->post('','WalletServiceController@post');
|
||||
$router->post('{id_identification}','WalletServiceController@post');
|
||||
$router->get('{user_code}','WalletServiceController@get');
|
||||
$router->get('verify/{id_user}','WalletServiceController@get');
|
||||
$router->get('{id_user}','WalletServiceController@get');
|
||||
$router->get('verify/{user_phone}','WalletServiceController@get');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue