<?php
namespace App\Http\Controllers\Api\V1;
use App\Application\Services\LedgerService;
use App\Support\ApiResponse;
use Illuminate\Http\Request;
final class BalanceController { public function __invoke(Request $r,LedgerService $ledger){return ApiResponse::success($ledger->merchantBalances($r->attributes->get('merchant')->id));} }
