Basic implementation of payment methods

This commit is contained in:
th.guenther committed 2026-07-28 15:50:58 +02:00
1 parent afc91545a9
commit 6c9281516e
39 files changed
+749 -24

No files matched your search

@@ -0,0 +1,19 @@
<?php
namespace App\Domains\Admin\Controllers;
use App\Models\AvailablePaymentMethod;
use App\Scopes\CommonController;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class TenantPaymentMethodsGetController extends CommonController
{
public function __invoke(Request $request): JsonResponse
{
return response()->json([
'paymentMethods' => AvailablePaymentMethod::all(),
'saveEndpoint' => '/api/v1/admin/tenant/payment-methods',
]);
}
}