commit melhorias sgf

This commit is contained in:
2026-11-11 09:00:17 +02:00
parent 0b05a1192c
commit 1d11a5e57b
736 changed files with 40746 additions and 210 deletions
+11
View File
@@ -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');