user()->id; $payments = Payment::orderBy('created_at', 'desc')->where('seller_id',$sellerId)->latest()->paginate(10);; return SellerPaymentResource::collection($payments); } }