add api payment

This commit is contained in:
Amir
2022-08-09 09:32:24 +08:00
parent 8bca7dab86
commit 5bbe15963b
7 changed files with 373 additions and 225 deletions
+3 -3
View File
@@ -32,10 +32,8 @@ Route::post('/password/email', [ForgotPasswordController::class, 'sendResetLinkE
// Route::get('/callback', [ApiController::class, 'feepayment']);
Route::post('/feepayment', [ApiController::class, 'feepayment'])->name('feepayment');
Route::post('/bidpayment', [ApiController::class, 'bidpayment'])->name('bidpayment');
//Protected routes
Route::group(['middleware' => ['auth:sanctum']], function () {
@@ -68,6 +66,8 @@ Route::group(['middleware' => ['auth:sanctum']], function () {
Route::post('/bayarcdm', [LelongMobileController::class, 'bayarCdm']);
Route::post('/updateresit', [LelongMobileController::class, 'updateResit']);
Route::get('/invoice', [LelongMobileController::class, 'getInvoiceId']);
// Lelong => Bidder
Route::post('/bidder/biditem', [LelongMobileController::class, 'bidderSelectBidItem']);
Route::get('/bidder/listbiditem', [LelongMobileController::class, 'listBidItem']);