commit melhorias sgf
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\Api\V1\SgcInvoiceIngressController;
|
||||
use App\Http\Middleware\AuthenticateSgcInvoice;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
// Intentionally mount only invoice intake. Legacy payments/analytics are not exposed.
|
||||
Route::post('v1/integration/sgc/invoices', SgcInvoiceIngressController::class)
|
||||
->middleware(AuthenticateSgcInvoice::class)->name('integration.sgc.invoices');
|
||||
Route::get('v1/integration/sgc/invoices/orders/{order}', [SgcInvoiceIngressController::class, 'context'])
|
||||
->whereNumber('order')->middleware(AuthenticateSgcInvoice::class)->name('integration.sgc.invoices.context');
|
||||
Reference in New Issue
Block a user